depot/third_party/nixpkgs/pkgs/development/python-modules/bugsnag/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

47 lines
870 B
Nix

{ lib
, blinker
, buildPythonPackage
, fetchPypi
, flask
, pythonOlder
, webob
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "4.6.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-q+hxYDajPVkR/AHLfTRq/E8ofO3UepLNooUS/CLIN/4=";
};
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; [ ];
};
}