pythonPackages.google_cloud_datastore: init at 1.7.1

This commit is contained in:
Chris Ostrouchov 2018-11-02 15:10:51 -04:00
parent 206a66c138
commit dccf50300f
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-datastore";
version = "1.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "03c1a06b0d94ac2f801513c9255bd5fc8773d036f0e59d63ffe1152cfe4320de";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ google_api_core google_cloud_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google Cloud Datastore API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -2456,6 +2456,8 @@ in {
google_cloud_dataproc = callPackage ../development/python-modules/google_cloud_dataproc { };
google_cloud_datastore = callPackage ../development/python-modules/google_cloud_datastore { };
google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { };
google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { };