3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/bugsnag/default.nix
Jonathan Ringer 6a6ee498e1 python2Packages.bugsnag: disable python2
```
  Processing ./bugsnag-4.0.1-py2-none-any.whl
  ERROR: Package 'bugsnag' requires a different Python: 2.7.18 not in '>=3.5.*, <4'
```
2020-10-17 08:52:08 -07:00

31 lines
592 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, six
, webob
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "4.0.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "01c2186f6c2a6f801b66d8fc73b8986bd2d4931a6ab40b720e5fd0b66757facc";
};
propagatedBuildInputs = [ six webob ];
# no tests
doCheck = false;
meta = with stdenv.lib; {
description = "Automatic error monitoring for django, flask, etc.";
homepage = "https://www.bugsnag.com";
license = licenses.mit;
platforms = platforms.unix;
};
}