forked from mirrors/nixpkgs
pythonPackages.google_cloud_error_reporting: init at 0.30.0
This commit is contained in:
parent
f012fd1f90
commit
4b88425dc9
|
@ -0,0 +1,31 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_cloud_logging
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-error-reporting";
|
||||
version = "0.30.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "768a5c3ed7a96b60f051717c1138e561493ab0ef4dd4acbcf9e2b1cc2d09e06a";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_cloud_logging ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Stackdriver Error Reporting API client library";
|
||||
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -2464,6 +2464,8 @@ in {
|
|||
|
||||
google_cloud_dns = callPackage ../development/python-modules/google_cloud_dns { };
|
||||
|
||||
google_cloud_error_reporting = callPackage ../development/python-modules/google_cloud_error_reporting { };
|
||||
|
||||
google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { };
|
||||
|
||||
google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { };
|
||||
|
|
Loading…
Reference in a new issue