depot/third_party/nixpkgs/pkgs/development/python-modules/keyrings-google-artifactregistry-auth/default.nix

45 lines
851 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, google-auth
, keyring
, pluggy
, requests
, setuptools-scm
, toml
}:
buildPythonPackage rec {
pname = "keyrings.google-artifactregistry-auth";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
hash = "sha256-vrA3+/awws4R2BAxn9wYDKuIZdqioWsQnDr3MYL/5E0=";
};
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 ];
};
}