nixpkgs/pkgs/development/python-modules/google_cloud_core/default.nix

27 lines
688 B
Nix
Raw Normal View History

2017-12-20 22:48:57 +00:00
{ stdenv, buildPythonPackage, fetchPypi
, google_api_core, grpcio, pytest, mock }:
buildPythonPackage rec {
pname = "google-cloud-core";
version = "0.29.1";
2017-12-20 22:48:57 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "d85b1aaaf3bad9415ad1d8ee5eadce96d7007a82f13ce0a0629a003a11e83f29";
2017-12-20 22:48:57 +00:00
};
propagatedBuildInputs = [ google_api_core grpcio ];
checkInputs = [ pytest mock ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "API Client library for Google Cloud: Core Helpers";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
license = licenses.asl20;
maintainers = with maintainers; [ vanschelven ];
};
}