python3Packages.google-cloud-bigquery-datatransfer: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-08 11:10:26 +01:00 committed by GitHub
parent 481439de55
commit 1935481cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"