Files
nixpkgs/pkgs/development/python-modules/bugsnag/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

45 lines
849 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 ];
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 = [ ];
};
}