depot/third_party/nixpkgs/pkgs/development/python-modules/bugsnag/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

47 lines
870 B
Nix

{ lib
, blinker
, buildPythonPackage
, fetchPypi
, flask
, pythonOlder
, webob
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "4.5.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-R/Fg1OMyR8z0tDUDwqu1Sh3sbvq33AXgBScr3WNm/QY=";
};
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; [ ];
};
}