1{
2 lib,
3 blinker,
4 buildPythonPackage,
5 fetchPypi,
6 flask,
7 pythonOlder,
8 setuptools,
9 webob,
10}:
11
12buildPythonPackage rec {
13 pname = "bugsnag";
14 version = "4.7.1";
15 pyproject = true;
16
17 disabled = pythonOlder "3.10";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-mECP4X1KfzAKVlNUB6ZEi5hE2bUoxEUnkIho/DZG6HM=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [ webob ];
27
28 optional-dependencies = {
29 flask = [
30 blinker
31 flask
32 ];
33 };
34
35 pythonImportsCheck = [ "bugsnag" ];
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 changelog = "https://github.com/bugsnag/bugsnag-python/blob/v${version}/CHANGELOG.md";
44 license = licenses.mit;
45 maintainers = [ ];
46 };
47}