pythonPackages.google_cloud_firestore: init at 0.30.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 15:38:38 -04:00
parent 4b88425dc9
commit 9c13931d5e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google_cloud_core
, pytest
}:
buildPythonPackage rec {
pname = "google-cloud-firestore";
version = "0.30.0";
src = fetchPypi {
inherit pname version;
sha256 = "7f990572ace890867bbbc63c9d700c1d2635ba4c799e05f30b6fdca490021243";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ google_api_core google_cloud_core ];
# tests were not included with release
# See issue https://github.com/googleapis/google-cloud-python/issues/6380
doCheck = false;
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google Cloud Firestore API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -2466,6 +2466,8 @@ in {
google_cloud_error_reporting = callPackage ../development/python-modules/google_cloud_error_reporting { };
google_cloud_firestore = callPackage ../development/python-modules/google_cloud_firestore { };
google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { };
google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { };