nixpkgs/pkgs/development/python-modules/google_cloud_core/default.nix
2019-10-27 16:26:42 +01:00

27 lines
710 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, google_api_core, grpcio, pytest, mock, setuptools }:
buildPythonPackage rec {
pname = "google-cloud-core";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "10750207c1a9ad6f6e082d91dbff3920443bdaf1c344a782730489a9efa802f1";
};
propagatedBuildInputs = [ google_api_core grpcio setuptools ];
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 ];
};
}