1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

python3Packages.google-cloud-resource-manager: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-01 08:43:25 +01:00 committed by GitHub
parent 57ff71e6ad
commit 5b3864505d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,20 +7,32 @@
, grpc-google-iam-v1
, proto-plus
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-resource-manager";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-InkkAtqK5f1oqUK0Nsxc2PYt5JWBlB3ElGVNs5IJV/Q=";
hash = "sha256-InkkAtqK5f1oqUK0Nsxc2PYt5JWBlB3ElGVNs5IJV/Q=";
};
propagatedBuildInputs = [ google-api-core google-cloud-core grpc-google-iam-v1 proto-plus ];
propagatedBuildInputs = [
google-api-core
google-cloud-core
grpc-google-iam-v1
proto-plus
];
checkInputs = [ mock pytestCheckHook ];
checkInputs = [
mock
pytestCheckHook
];
# prevent google directory from shadowing google imports
preCheck = ''