about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/rollbar/default.nix
blob: 60787d5158ad353328c363e329b78bff2f749f97 (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ aiocontextvars
, blinker
, buildPythonPackage
, fetchPypi
, httpx
, lib
, mock
, pytestCheckHook
, requests
, six
, unittest2
, webob
}:

buildPythonPackage rec {
  pname = "rollbar";
  version = "0.16.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "aa3b570062dd8dfb0e11537ba858f9e1633a604680e062a525434b8245540f87";
  };

  propagatedBuildInputs = [
    requests
    six
  ];

  checkInputs = [
    webob
    blinker
    unittest2
    mock
    httpx
    aiocontextvars
    pytestCheckHook
  ];

  pythonImportsCheck = [ "rollbar" ];

  meta = with lib; {
    description = "Error tracking and logging from Python to Rollbar";
    homepage = "https://github.com/rollbar/pyrollbar";
    license = licenses.mit;
    maintainers = with maintainers; [ superherointj ];
  };
}