pythonPackages.google_cloud_trace: init at 0.19.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 16:31:31 -04:00
parent b1bfcaac25
commit b729904acc
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google_cloud_core
, pytest
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-trace";
version = "0.19.0";
src = fetchPypi {
inherit pname version;
sha256 = "2cb774498e90143a9565dd50e2814b6b0292242a53b8804a1a529989e18b7461";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ google_api_core google_cloud_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Stackdriver Trace API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -2500,6 +2500,8 @@ in {
google_cloud_texttospeech = callPackage ../development/python-modules/google_cloud_texttospeech { };
google_cloud_trace = callPackage ../development/python-modules/google_cloud_trace { };
google_resumable_media = callPackage ../development/python-modules/google_resumable_media { };
gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; });