python3Packages.google-cloud-bigquery-datatransfer: disable on older Python releases
This commit is contained in:
parent
481439de55
commit
1935481cd3
@ -8,19 +8,33 @@
|
|||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytz
|
, pytz
|
||||||
, mock
|
, mock
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-bigquery-datatransfer";
|
pname = "google-cloud-bigquery-datatransfer";
|
||||||
version = "3.6.1";
|
version = "3.6.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-hR5qHucBpq1LS9pIZeovcPMiVbw3dhSeeJxkYH8xuMk=";
|
hash = "sha256-hR5qHucBpq1LS9pIZeovcPMiVbw3dhSeeJxkYH8xuMk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ google-api-core libcst proto-plus pytz ];
|
propagatedBuildInputs = [
|
||||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
google-api-core
|
||||||
|
libcst
|
||||||
|
proto-plus
|
||||||
|
pytz
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"google.cloud.bigquery_datatransfer"
|
"google.cloud.bigquery_datatransfer"
|
||||||
|
Loading…
Reference in New Issue
Block a user