depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-org-policy/default.nix
Default email 9c6d255489 Project import generated by Copybara.
GitOrigin-RevId: 8133b9cb5f7c00d4fe31c8c2c4b525bc2650bfc0
2020-10-16 20:44:37 +00:00

27 lines
700 B
Nix

{ 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 ];
};
}