blob: 724539c55a0f3767c849e83a60919d3ea936f4ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ stdenv
, buildPythonPackage
, fetchPypi
, google_cloud_logging
, pytest
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-error-reporting";
version = "0.33.0";
src = fetchPypi {
inherit pname version;
sha256 = "845c4d7252f21403a5634a4047c3d77a645df92f6724911a5faf6f5e1bba51fd";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ google_cloud_logging ];
checkPhase = ''
rm -r google
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 ];
};
}
|