-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
/
default.nix
52 lines (43 loc) · 1.05 KB
/
default.nix
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
45
46
47
48
49
50
51
52
{ lib
, buildPythonPackage
, fetchPypi
, google-auth
, keyring
, pluggy
, pythonOlder
, requests
, setuptools-scm
, toml
}:
buildPythonPackage rec {
pname = "keyrings.google-artifactregistry-auth";
version = "1.1.2";
disabled = pythonOlder "3.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-vWq7cnQNLf60pcA8OxBcb326FpyqKd7jlZaU8fAsd94=";
};
buildInputs = [
setuptools-scm
toml
];
propagatedBuildInputs = [
google-auth
keyring
pluggy
requests
];
pythonImportsCheck = [
"keyrings.gauth"
];
# upstream has no tests
doCheck = false;
meta = with lib; {
changelog = "https://github.com/GoogleCloudPlatform/artifact-registry-python-tools/blob/main/HISTORY.md";
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 ];
};
}