about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/keyrings-google-artifactregistry-auth/default.nix
blob: d77dc444f80d16a1c3f1fc0aa3658aa9e6b4ea66 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 ];
  };
}