My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/google-cloud-resource-manager/default.nix

53 lines
1.0 KiB

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-cloud-core
, google-api-core
, grpc-google-iam-v1
, proto-plus
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-resource-manager";
version = "1.4.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-NUqFkvIwfaqz3MZEUoLqO7hFCVwV5124+lA8LGzccl0=";
};
propagatedBuildInputs = [
google-api-core
google-cloud-core
grpc-google-iam-v1
proto-plus
];
checkInputs = [
mock
pytestCheckHook
];
# prevent google directory from shadowing google imports
preCheck = ''
rm -r google
'';
pythonImportsCheck = [
"google.cloud.resourcemanager"
"google.cloud.resourcemanager_v3"
];
meta = with lib; {
description = "Google Cloud Resource Manager API client library";
homepage = "https://github.com/googleapis/python-resource-manager";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}