diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2022-03-17 22:45:46 -0700 |
---|---|---|
committer | Bernardo Meurer <bernardo@meurer.org> | 2022-03-17 22:45:46 -0700 |
commit | 24d9901b7c50721b3568f43aa07399bf002c76f6 (patch) | |
tree | a3b2d459a1fdc1cf83782fd7736513a143d7780d | |
parent | c12cec8bc39c3c1153a42032a03a83d149d1e2ac (diff) | |
download | nixpkgs-24d9901b7c50721b3568f43aa07399bf002c76f6.tar nixpkgs-24d9901b7c50721b3568f43aa07399bf002c76f6.tar.gz nixpkgs-24d9901b7c50721b3568f43aa07399bf002c76f6.tar.bz2 nixpkgs-24d9901b7c50721b3568f43aa07399bf002c76f6.tar.lz nixpkgs-24d9901b7c50721b3568f43aa07399bf002c76f6.tar.xz nixpkgs-24d9901b7c50721b3568f43aa07399bf002c76f6.tar.zst nixpkgs-24d9901b7c50721b3568f43aa07399bf002c76f6.zip |
python3Packages.keyrings-google-artifactregistry-auth: init at 1.0.0
-rw-r--r-- | pkgs/development/python-modules/keyrings-google-artifactregistry-auth/default.nix | 44 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/keyrings-google-artifactregistry-auth/default.nix b/pkgs/development/python-modules/keyrings-google-artifactregistry-auth/default.nix new file mode 100644 index 00000000000..d77dc444f80 --- /dev/null +++ b/pkgs/development/python-modules/keyrings-google-artifactregistry-auth/default.nix @@ -0,0 +1,44 @@ +{ lib +, buildPythonPackage +, fetchPypi +, google-auth +, keyring +, pluggy +, requests +, setuptools-scm +, toml +}: + +buildPythonPackage rec { + pname = "keyrings.google-artifactregistry-auth"; + version = "1.0.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-gvoX5SP0A39Ke0VRlplETJF8gIP+QzK6xNReRxM8UnA="; + }; + + buildInputs = [ + setuptools-scm + toml + ]; + + propagatedBuildInputs = [ + google-auth + keyring + pluggy + requests + ]; + + pythonImportsCheck = [ + "keyrings.gauth" + ]; + + + meta = with lib; { + description = "Python package which allows you to configure keyring to interact with Python repositories stored in Artifact Registry"; + homepage = "https://pypi.org/project/keyrings.google-artifactregistry-auth"; + license = licenses.asl20; + maintainers = with maintainers; [ lovesegfault ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a8c3a4de421..4dac47db2b8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4462,6 +4462,8 @@ in { keyrings-cryptfile = callPackage ../development/python-modules/keyrings-cryptfile { }; + keyrings-google-artifactregistry-auth = callPackage ../development/python-modules/keyrings-google-artifactregistry-auth { }; + keyrings-alt = callPackage ../development/python-modules/keyrings-alt { }; keystone-engine = callPackage ../development/python-modules/keystone-engine { }; |