Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-access-context-manager / default.nix
blob409cfc2bc4a477d86b12d49ade21b8817bf13a04
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , pythonOlder
6 , protobuf
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "google-cloud-access-context-manager";
12   version = "0.2.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-pbQkMSwISwK2+Ywev7avKBMvwB5dcZgX+kmeeMh+BLc=";
20   };
22   nativeBuildInputs = [
23     setuptools
24   ];
26   propagatedBuildInputs = [
27     google-api-core
28     protobuf
29   ] ++ google-api-core.optional-dependencies.grpc;
31   # No tests in repo
32   doCheck = false;
34   pythonImportsCheck = [
35     "google.identity.accesscontextmanager"
36   ];
38   meta = with lib; {
39     description = "Protobufs for Google Access Context Manager";
40     homepage = "https://github.com/googleapis/python-access-context-manager";
41     changelog = "https://github.com/googleapis/python-access-context-manager/blob/v${version}/CHANGELOG.md";
42     license = licenses.asl20;
43     maintainers = with maintainers; [ austinbutler ];
44   };