nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 google-auth, 6 keyring, 7 pluggy, 8 requests, 9 setuptools, 10 setuptools-scm, 11}: 12 13buildPythonPackage rec { 14 pname = "keyrings-google-artifactregistry-auth"; 15 version = "1.1.2"; 16 pyproject = true; 17 18 src = fetchPypi { 19 pname = "keyrings.google-artifactregistry-auth"; 20 inherit version; 21 hash = "sha256-vWq7cnQNLf60pcA8OxBcb326FpyqKd7jlZaU8fAsd94="; 22 }; 23 24 build-system = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 dependencies = [ 30 google-auth 31 keyring 32 pluggy 33 requests 34 ]; 35 36 pythonImportsCheck = [ "keyrings.gauth" ]; 37 38 # upstream has no tests 39 doCheck = false; 40 41 meta = { 42 changelog = "https://github.com/GoogleCloudPlatform/artifact-registry-python-tools/blob/main/HISTORY.md"; 43 description = "Python package which allows you to configure keyring to interact with Python repositories stored in Artifact Registry"; 44 homepage = "https://github.com/GoogleCloudPlatform/artifact-registry-python-tools"; 45 license = lib.licenses.asl20; 46 maintainers = with lib.maintainers; [ lovesegfault ]; 47 }; 48}