nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-auth 5, keyring 6, pluggy 7, requests 8, setuptools-scm 9, toml 10}: 11 12buildPythonPackage rec { 13 pname = "keyrings.google-artifactregistry-auth"; 14 version = "1.1.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-vrA3+/awws4R2BAxn9wYDKuIZdqioWsQnDr3MYL/5E0="; 19 }; 20 21 buildInputs = [ 22 setuptools-scm 23 toml 24 ]; 25 26 propagatedBuildInputs = [ 27 google-auth 28 keyring 29 pluggy 30 requests 31 ]; 32 33 pythonImportsCheck = [ 34 "keyrings.gauth" 35 ]; 36 37 38 meta = with lib; { 39 description = "Python package which allows you to configure keyring to interact with Python repositories stored in Artifact Registry"; 40 homepage = "https://pypi.org/project/keyrings.google-artifactregistry-auth"; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ lovesegfault ]; 43 }; 44}