diff --git a/pkgs/development/python-modules/google-cloud-access-context-manager/default.nix b/pkgs/development/python-modules/google-cloud-access-context-manager/default.nix new file mode 100644 index 000000000000..01f7bc9ce33e --- /dev/null +++ b/pkgs/development/python-modules/google-cloud-access-context-manager/default.nix @@ -0,0 +1,27 @@ +{ lib, buildPythonPackage, fetchPypi, pythonOlder, google_api_core }: + +buildPythonPackage rec { + pname = "google-cloud-access-context-manager"; + version = "0.1.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "1qy7wv1xn7g3x5z0vvv0pwmxhin4hw2m9fs9iklnghy00vg37v0b"; + }; + + disabled = pythonOlder "3.5"; + + propagatedBuildInputs = [ google_api_core ]; + + # No tests in repo + doCheck = false; + + pythonImportsCheck = [ "google.identity.accesscontextmanager" ]; + + meta = with lib; { + description = "Protobufs for Google Access Context Manager."; + homepage = "https://github.com/googleapis/python-access-context-manager"; + license = licenses.asl20; + maintainers = with maintainers; [ austinbutler ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0d2e1aa1c4fa..929869ee8e9c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2422,6 +2422,8 @@ in { google-auth-oauthlib = callPackage ../development/python-modules/google-auth-oauthlib { }; + google-cloud-access-context-manager = callPackage ../development/python-modules/google-cloud-access-context-manager { }; + google_cloud_asset = callPackage ../development/python-modules/google_cloud_asset { }; google_cloud_automl = callPackage ../development/python-modules/google_cloud_automl { };