google_api_core: init at 0.1.2

This commit is contained in:
Klaas van Schelven 2017-12-20 23:47:52 +01:00
parent df69f446a8
commit 1672631932
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi
, google_auth, protobuf, googleapis_common_protos, requests, grpcio, setuptools, mock, pytest }:
buildPythonPackage rec {
pname = "google-api-core";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0qmjswj079w7q7zbnh8p4n2r3f831wymm9hfdlc7zfrini7184xv";
};
propagatedBuildInputs = [ google_auth protobuf googleapis_common_protos requests grpcio ];
checkInputs = [ setuptools mock pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients.";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
license = licenses.asl20;
maintainers = with maintainers; [ vanschelven ];
};
}

View file

@ -9047,6 +9047,8 @@ in {
googleapis_common_protos = callPackage ../development/python-modules/googleapis_common_protos { };
google_api_core = callPackage ../development/python-modules/google_api_core { };
google_api_python_client = buildPythonPackage rec {
name = "google-api-python-client-${version}";
version = "1.5.1";