depot/third_party/nixpkgs/pkgs/development/python-modules/keyrings-google-artifactregistry-auth/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

51 lines
1.1 KiB
Nix

{
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 ];
};
}