Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-iam-logging / default.nix
blobbea85e028389040d896b09d4b4a671dfd22f6bbf
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , grpc-google-iam-v1
6 , mock
7 , proto-plus
8 , protobuf
9 , pytest-asyncio
10 , pytestCheckHook
11 , pythonOlder
12 , setuptools
15 buildPythonPackage rec {
16   pname = "google-cloud-iam-logging";
17   version = "1.3.3";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchPypi {
23     inherit pname version;
24     hash = "sha256-99YYGGrI8zg+cwdVKqFVneL0jTzO7GJq91O/Kk0lGJM=";
25   };
27   nativeBuildInputs = [
28     setuptools
29   ];
31   propagatedBuildInputs = [
32     google-api-core
33     grpc-google-iam-v1
34     proto-plus
35     protobuf
36   ] ++ google-api-core.optional-dependencies.grpc;
38   nativeCheckInputs = [
39     mock
40     pytestCheckHook
41     pytest-asyncio
42   ];
44   pythonImportsCheck = [
45     "google.cloud.iam_logging"
46     "google.cloud.iam_logging_v1"
47   ];
49   meta = with lib; {
50     description = "IAM Service Logging client library";
51     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-iam-logging";
52     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-iam-logging-v${version}/packages/google-cloud-iam-logging/CHANGELOG.md";
53     license = licenses.asl20;
54     maintainers = with maintainers; [ fab ];
55   };