google_api_core: init at 0.1.2
This commit is contained in:
parent
df69f446a8
commit
1672631932
26
pkgs/development/python-modules/google_api_core/default.nix
Normal file
26
pkgs/development/python-modules/google_api_core/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -9047,6 +9047,8 @@ in {
|
|||||||
|
|
||||||
googleapis_common_protos = callPackage ../development/python-modules/googleapis_common_protos { };
|
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 {
|
google_api_python_client = buildPythonPackage rec {
|
||||||
name = "google-api-python-client-${version}";
|
name = "google-api-python-client-${version}";
|
||||||
version = "1.5.1";
|
version = "1.5.1";
|
||||||
|
Loading…
Reference in New Issue
Block a user