depot/third_party/nixpkgs/pkgs/development/python-modules/keyrings-google-artifactregistry-auth/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

44 lines
853 B
Nix

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