evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-artifact-registry / default.nix
blobc67815b9d7aba32906bdd4b009245ad3b63ace45
2   buildPythonPackage,
3   fetchPypi,
4   google-api-core,
5   google-auth,
6   grpc-google-iam-v1,
7   lib,
8   proto-plus,
9   protobuf,
10   pytestCheckHook,
11   pythonOlder,
12   setuptools,
15 buildPythonPackage rec {
16   pname = "google-cloud-artifact-registry";
17   version = "1.12.0";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchPypi {
23     pname = "google_cloud_artifact_registry";
24     inherit version;
25     hash = "sha256-XuPps4IBJxIfF+9qmqDYzZDw3BOrZeVUznk/3af33XQ=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [
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 = [ pytestCheckHook ];
40   pythonImportsCheck = [
41     "google.cloud.artifactregistry"
42     "google.cloud.artifactregistry_v1"
43     "google.cloud.artifactregistry_v1beta2"
44   ];
46   meta = with lib; {
47     description = "Google Cloud Artifact Registry API client library";
48     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-artifact-registry";
49     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-artifact-registry-v${version}/packages/google-cloud-artifact-registry/CHANGELOG.md";
50     license = licenses.asl20;
51     maintainers = with maintainers; [ samuela ];
52   };