mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-20 12:43:19 +02:00
28 lines
766 B
Nix
28 lines
766 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, python
|
|
, 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 = ''
|
|
cd tests
|
|
${python.interpreter} -m unittest discover
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|