about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/google-cloud-org-policy/default.nix
blob: 7ca698b664520bf0553f0fbb668cc39227d7218c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google-api-core, proto-plus }:

buildPythonPackage rec {
  pname = "google-cloud-org-policy";
  version = "0.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b463704affab327c1d3fa4af280a858635b5f59a88456b2a08db62a336a352aa";
  };

  propagatedBuildInputs = [ google-api-core proto-plus ];

  # 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 SuperSandro2000 ];
  };
}