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'
```
This commit is contained in:
Jonathan Ringer 2020-10-17 08:49:03 -07:00 committed by Jon
parent 4f98107888
commit 6a6ee498e1

View File

@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, six
, webob
}:
@ -8,6 +9,7 @@
buildPythonPackage rec {
pname = "bugsnag";
version = "4.0.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;