python3Packages.google-cloud-org-policy: init at 0.1.2

This commit is contained in:
Austin Butler 2020-10-12 20:56:31 -07:00 committed by Jon
parent 906d77af8b
commit c9c4730f11
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google_api_core }:
buildPythonPackage rec {
pname = "google-cloud-org-policy";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0ncgcnbvmgqph54yh2pjx2hh82gnkhsrw5yirp4wlf7jclh6j9xh";
};
disabled = pythonOlder "3.5";
propagatedBuildInputs = [ google_api_core ];
# 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;
maintainers = with maintainers; [ austinbutler ];
};
}

View File

@ -2460,6 +2460,8 @@ in {
google_cloud_monitoring = callPackage ../development/python-modules/google_cloud_monitoring { };
google-cloud-org-policy = callPackage ../development/python-modules/google-cloud-org-policy { };
google_cloud_pubsub = callPackage ../development/python-modules/google_cloud_pubsub { };
google_cloud_redis = callPackage ../development/python-modules/google_cloud_redis { };