mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
48 lines
870 B
Nix
48 lines
870 B
Nix
{ lib
|
|
, blinker
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, pythonOlder
|
|
, webob
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bugsnag";
|
|
version = "4.4.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-1vtoDmyulfH3YDdMoT9qBFaRd48nnTBCt0iWuQtk3iw=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|