diff --git a/pkgs/development/python-modules/google-cloud-iam-logging/default.nix b/pkgs/development/python-modules/google-cloud-iam-logging/default.nix new file mode 100644 index 000000000000..55d36ac2a7c7 --- /dev/null +++ b/pkgs/development/python-modules/google-cloud-iam-logging/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchPypi +, google-api-core +, grpc_google_iam_v1 +, mock +, proto-plus +, pytest-asyncio +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "google-cloud-iam-logging"; + version = "0.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "19a8s634w2m1b16zq8f185cpaw7k6d0c7c61g1vzm19jl213rhiw"; + }; + + propagatedBuildInputs = [ + google-api-core + grpc_google_iam_v1 + proto-plus + ]; + + checkInputs = [ + mock + pytestCheckHook + pytest-asyncio + ]; + + pythonImportsCheck = [ + "google.cloud.iam_logging" + "google.cloud.iam_logging_v1" + ]; + + meta = with lib; { + description = "IAM Service Logging client library"; + homepage = "https://github.com/googleapis/python-iam-logging"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7d212cb5ea0e..41a5a9a4adc7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2938,6 +2938,8 @@ in { google-cloud-iam = callPackage ../development/python-modules/google-cloud-iam { }; + google-cloud-iam-logging = callPackage ../development/python-modules/google-cloud-iam-logging { }; + google-cloud-iot = callPackage ../development/python-modules/google-cloud-iot { }; google-cloud-kms = callPackage ../development/python-modules/google-cloud-kms { };