diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/google_cloud_error_reporting/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/google_cloud_error_reporting/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/google_cloud_error_reporting/default.nix b/nixpkgs/pkgs/development/python-modules/google_cloud_error_reporting/default.nix new file mode 100644 index 000000000000..d6f89aefc5fa --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/google_cloud_error_reporting/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_cloud_logging +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-error-reporting"; + version = "0.30.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "29d04cb6cc2053468addb78351b841df00cb56066e89b6aec0970cb003dd2fab"; + }; + + 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 ]; + }; +} |