3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.google_cloud_dns: init at 0.29.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 15:16:20 -04:00
parent 5472060a7a
commit aeba5b010c
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 34 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 { };