depot/third_party/nixpkgs/pkgs/development/python-modules/bugsnag/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

46 lines
779 B
Nix

{ lib
, blinker
, buildPythonPackage
, fetchPypi
, flask
, pythonOlder
, webob
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "4.3.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-9q6Cp/reUJJ3XGMT9BV+4z5AxJdP8izfzgjOpS84/Tc=";
};
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";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}