2021-04-05 03:01:35 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google-api-core, proto-plus }:
|
2020-10-13 03:56:31 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-org-policy";
|
2021-03-24 09:28:13 +00:00
|
|
|
version = "0.2.0";
|
2020-10-13 03:56:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:13 +00:00
|
|
|
sha256 = "b463704affab327c1d3fa4af280a858635b5f59a88456b2a08db62a336a352aa";
|
2020-10-13 03:56:31 +00:00
|
|
|
};
|
|
|
|
|
2021-04-05 03:01:35 +00:00
|
|
|
propagatedBuildInputs = [ google-api-core proto-plus ];
|
2020-10-13 03:56:31 +00:00
|
|
|
|
|
|
|
# No tests in repo
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "google.cloud.orgpolicy" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Protobufs for Google Cloud Organization Policy.";
|
|
|
|
homepage = "https://github.com/googleapis/python-org-policy";
|
|
|
|
license = licenses.asl20;
|
2021-01-05 14:52:26 +00:00
|
|
|
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
2020-10-13 03:56:31 +00:00
|
|
|
};
|
|
|
|
}
|