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

This commit is contained in:
Fabian Affolter 2022-05-20 22:12:54 +02:00 committed by GitHub
parent fa6446008f
commit 632a0423b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,16 +11,20 @@
, proto-plus
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-asset";
version = "3.9.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-DMRBAzGlByjcdLr/HnVxFxbNWK1TbYFpYKEjDdzfEeg=";
hash = "sha256-DMRBAzGlByjcdLr/HnVxFxbNWK1TbYFpYKEjDdzfEeg=";
};
propagatedBuildInputs = [
@ -33,7 +37,12 @@ buildPythonPackage rec {
proto-plus
];
checkInputs = [ google-cloud-testutils mock pytest-asyncio pytestCheckHook ];
checkInputs = [
google-cloud-testutils
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.asset"