diff --git a/pkgs/development/python-modules/google_cloud_dns/default.nix b/pkgs/development/python-modules/google_cloud_dns/default.nix new file mode 100644 index 000000000000..48d0c7429465 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_dns/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-dns"; + version = "0.29.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "f6ea35676c59b6bfd4a2e6aa42670c6ed3505ba46f7117cdc953094e568f404e"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud DNS API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c28abc151a76..824e1452dec4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2460,6 +2460,8 @@ in { google_cloud_dlp = callPackage ../development/python-modules/google_cloud_dlp { }; + google_cloud_dns = callPackage ../development/python-modules/google_cloud_dns { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { };