You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
nixpkgs/pkgs/development/python-modules/google_api_core/default.nix

26 lines
847 B

{ stdenv, buildPythonPackage, fetchPypi
, google_auth, protobuf, googleapis_common_protos, requests, grpcio, setuptools, mock, pytest }:
buildPythonPackage rec {
pname = "google-api-core";
version = "0.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "0144d467083ed54d2e8ccb4212d42c3724fe0b844b7d3a0ff85aea54b7ae8347";
};
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 ];
};
}