Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-iam-logging / default.nix
blobf7c690c56f67a9109ea63033e4ea67fbf6e7e951
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
14 buildPythonPackage rec {
15   pname = "google-cloud-iam-logging";
16   version = "1.2.2";
17   format = "setuptools";
19   disabled = pythonOlder "3.7";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-6IBjA2WwP11d/vQJSIY3WhbqYvAgFRtZFFSffUqKM38=";
24   };
26   propagatedBuildInputs = [
27     google-api-core
28     grpc-google-iam-v1
29     proto-plus
30     protobuf
31   ] ++ google-api-core.optional-dependencies.grpc;
33   nativeCheckInputs = [
34     mock
35     pytestCheckHook
36     pytest-asyncio
37   ];
39   pythonImportsCheck = [
40     "google.cloud.iam_logging"
41     "google.cloud.iam_logging_v1"
42   ];
44   meta = with lib; {
45     description = "IAM Service Logging client library";
46     homepage = "https://github.com/googleapis/python-iam-logging";
47     changelog = "https://github.com/googleapis/python-iam-logging/blob/v${version}/CHANGELOG.md";
48     license = licenses.asl20;
49     maintainers = with maintainers; [ fab ];
50   };