nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 35 lines 835 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, google_api_core 5, google_cloud_core 6, pytest 7}: 8 9buildPythonPackage rec { 10 pname = "google-cloud-firestore"; 11 version = "1.6.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "7fec7b523ab5e1f87721ca61181114818579bb4d17de768a3993811c9d2aacfe"; 16 }; 17 18 checkInputs = [ pytest ]; 19 propagatedBuildInputs = [ google_api_core google_cloud_core ]; 20 21 # tests were not included with release 22 # See issue https://github.com/googleapis/google-cloud-python/issues/6380 23 doCheck = false; 24 25 checkPhase = '' 26 pytest tests/unit 27 ''; 28 29 meta = with stdenv.lib; { 30 description = "Google Cloud Firestore API client library"; 31 homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; 32 license = licenses.asl20; 33 maintainers = [ maintainers.costrouc ]; 34 }; 35}