e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
47 lines
870 B
Nix
47 lines
870 B
Nix
{ lib
|
|
, blinker
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, pythonOlder
|
|
, webob
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bugsnag";
|
|
version = "4.6.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-GzpupL+wE2JJPT92O6yZNWZowo6fXzUvkuBDtKL1Hao=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
webob
|
|
];
|
|
|
|
passthru.optional-dependencies = {
|
|
flask = [
|
|
blinker
|
|
flask
|
|
];
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"bugsnag"
|
|
];
|
|
|
|
# Module ha no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Automatic error monitoring for Python applications";
|
|
homepage = "https://github.com/bugsnag/bugsnag-python";
|
|
changelog = "https://github.com/bugsnag/bugsnag-python/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|