1{ lib
2, blinker
3, buildPythonPackage
4, fetchPypi
5, flask
6, pythonOlder
7, webob
8}:
9
10buildPythonPackage rec {
11 pname = "bugsnag";
12 version = "4.3.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.5";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-9q6Cp/reUJJ3XGMT9BV+4z5AxJdP8izfzgjOpS84/Tc=";
20 };
21
22 propagatedBuildInputs = [
23 webob
24 ];
25
26 passthru.optional-dependencies = {
27 flask = [
28 blinker
29 flask
30 ];
31 };
32
33 pythonImportsCheck = [
34 "bugsnag"
35 ];
36
37 # Module ha no tests
38 doCheck = false;
39
40 meta = with lib; {
41 description = "Automatic error monitoring for Python applications";
42 homepage = "https://github.com/bugsnag/bugsnag-python";
43 license = licenses.mit;
44 maintainers = with maintainers; [ ];
45 };
46}