472aeafc57
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
44 lines
840 B
Nix
44 lines
840 B
Nix
{
|
|
lib,
|
|
blinker,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
flask,
|
|
pythonOlder,
|
|
webob,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bugsnag";
|
|
version = "4.7.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-mECP4X1KfzAKVlNUB6ZEi5hE2bUoxEUnkIho/DZG6HM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ webob ];
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|