Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-artifact-registry / default.nix
blob07e965918652cb89021df5f9b2223a313395edd2
1 { buildPythonPackage
2 , fetchPypi
3 , google-api-core
4 , google-auth
5 , grpc-google-iam-v1
6 , lib
7 , proto-plus
8 , protobuf
9 , pytestCheckHook
10 , pythonOlder
11 , setuptools
14 buildPythonPackage rec {
15   pname = "google-cloud-artifact-registry";
16   version = "1.11.3";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-wsSeFbtZHWXeoiyC2lUUjFE09xkZuu+OtNNb4dHLIM0=";
24   };
26   nativeBuildInputs = [
27     setuptools
28   ];
30   propagatedBuildInputs = [
31     google-api-core
32     google-auth
33     grpc-google-iam-v1
34     proto-plus
35     protobuf
36   ] ++ google-api-core.optional-dependencies.grpc;
38   nativeCheckInputs = [
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "google.cloud.artifactregistry"
44     "google.cloud.artifactregistry_v1"
45     "google.cloud.artifactregistry_v1beta2"
46   ];
48   meta = with lib; {
49     description = "Google Cloud Artifact Registry API client library";
50     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-artifact-registry";
51     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-artifact-registry-v${version}/packages/google-cloud-artifact-registry/CHANGELOG.md";
52     license = licenses.asl20;
53     maintainers = with maintainers; [ samuela ];
54   };