1{ lib 2, blinker 3, buildPythonPackage 4, fetchPypi 5, flask 6, pythonOlder 7, webob 8}: 9 10buildPythonPackage rec { 11 pname = "bugsnag"; 12 version = "4.6.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.5"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-q+hxYDajPVkR/AHLfTRq/E8ofO3UepLNooUS/CLIN/4="; 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 changelog = "https://github.com/bugsnag/bugsnag-python/blob/v${version}/CHANGELOG.md"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ ]; 46 }; 47}