pythonPackages.google_cloud_firestore: init at 0.30.0

wip/yesman
Chris Ostrouchov 6 years ago
parent 4b88425dc9
commit 9c13931d5e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
  1. 35
      pkgs/development/python-modules/google_cloud_firestore/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

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

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

Loading…
Cancel
Save