Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / rollbar / default.nix
blob26edb9046504fd57476abb0ecafd73dac70befda
1 { lib
2 , aiocontextvars
3 , blinker
4 , buildPythonPackage
5 , fetchPypi
6 , fetchpatch
7 , httpx
8 , mock
9 , pytestCheckHook
10 , requests
11 , six
12 , pythonOlder
13 , webob
16 buildPythonPackage rec {
17   pname = "rollbar";
18   version = "1.0.0";
19   format = "setuptools";
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-Y0e35J8i8ClvwoemrqddZCz2RJTS7hJwQqelk8l9868=";
26   };
28   propagatedBuildInputs = [
29     requests
30     six
31   ];
33   nativeCheckInputs = [
34     webob
35     blinker
36     mock
37     httpx
38     aiocontextvars
39     pytestCheckHook
40   ];
42   # Still supporting unittest2
43   # https://github.com/rollbar/pyrollbar/pull/346
44   # https://github.com/rollbar/pyrollbar/pull/340
45   doCheck = false;
47   pythonImportsCheck = [
48     "rollbar"
49   ];
51   meta = with lib; {
52     description = "Error tracking and logging from Python to Rollbar";
53     mainProgram = "rollbar";
54     homepage = "https://github.com/rollbar/pyrollbar";
55     license = licenses.mit;
56     maintainers = with maintainers; [ ];
57   };