python312Packages.google-cloud-iam-logging: 1.3.5 -> 1.4.0
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-iam-logging / default.nix
blob0c5e110d23d9ec4202c29bcff8925353e9296be7
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   google-api-core,
6   grpc-google-iam-v1,
7   mock,
8   proto-plus,
9   protobuf,
10   pytest-asyncio,
11   pytestCheckHook,
12   pythonOlder,
13   setuptools,
16 buildPythonPackage rec {
17   pname = "google-cloud-iam-logging";
18   version = "1.4.0";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     pname = "google_cloud_iam_logging";
25     inherit version;
26     hash = "sha256-+7rRPIPXmxMbcTRqKTfYXciH1Op760Vm2d969zqJNnM=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
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   };