3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/google_cloud_datastore/default.nix
2018-11-20 14:12:12 -05:00

33 lines
710 B
Nix

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