python310Packages.google-cloud-asset: disable on older Python releases
This commit is contained in:
parent
fa6446008f
commit
632a0423b0
1 changed files with 11 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue