python310Packages.google-cloud-tasks: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-08-12 10:19:21 +02:00 committed by GitHub
parent b6edb4f49c
commit 3345718a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,22 +6,35 @@
, libcst
, mock
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-tasks";
version = "2.10.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Us6K8gf8zzdbek9CDgitkhb40IA9MkqFNblLw/KmfSc=";
hash = "sha256-Us6K8gf8zzdbek9CDgitkhb40IA9MkqFNblLw/KmfSc=";
};
propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ];
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
libcst
proto-plus
];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
checkInputs = [
mock
pytest-asyncio
pytestCheckHook
];
disabledTests = [
# requires credentials