2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
google-auth,
|
|
|
|
keyring,
|
|
|
|
pluggy,
|
|
|
|
pythonOlder,
|
|
|
|
requests,
|
|
|
|
setuptools-scm,
|
|
|
|
toml,
|
2022-03-30 09:31:56 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "keyrings.google-artifactregistry-auth";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.1.2";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
pyproject = true;
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-vWq7cnQNLf60pcA8OxBcb326FpyqKd7jlZaU8fAsd94=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
toml
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
google-auth
|
|
|
|
keyring
|
|
|
|
pluggy
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "keyrings.gauth" ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
# upstream has no tests
|
|
|
|
doCheck = false;
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-01-02 11:29:13 +00:00
|
|
|
changelog = "https://github.com/GoogleCloudPlatform/artifact-registry-python-tools/blob/main/HISTORY.md";
|
2022-03-30 09:31:56 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|