Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / keyrings-google-artifactregistry-auth / default.nix
blobb9204cbdabe775808ffb212f0c697cccecb96963
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-auth
5 , keyring
6 , pluggy
7 , pythonOlder
8 , requests
9 , setuptools-scm
10 , toml
13 buildPythonPackage rec {
14   pname = "keyrings.google-artifactregistry-auth";
15   version = "1.1.2";
17   disabled = pythonOlder "3.6";
19   pyproject = true;
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-vWq7cnQNLf60pcA8OxBcb326FpyqKd7jlZaU8fAsd94=";
24   };
26   buildInputs = [
27     setuptools-scm
28     toml
29   ];
31   propagatedBuildInputs = [
32     google-auth
33     keyring
34     pluggy
35     requests
36   ];
38   pythonImportsCheck = [
39     "keyrings.gauth"
40   ];
42   # upstream has no tests
43   doCheck = false;
45   meta = with lib; {
46     changelog = "https://github.com/GoogleCloudPlatform/artifact-registry-python-tools/blob/main/HISTORY.md";
47     description = "Python package which allows you to configure keyring to interact with Python repositories stored in Artifact Registry";
48     homepage = "https://pypi.org/project/keyrings.google-artifactregistry-auth";
49     license = licenses.asl20;
50     maintainers = with maintainers; [ lovesegfault ];
51   };