python2Packages.mongoengine: disable

```
  Processing ./mongoengine-0.20.0-py2-none-any.whl
  ERROR: Package 'mongoengine' requires a different Python: 2.7.18 not in '>=3.5'
```
This commit is contained in:
Jonathan Ringer 2020-10-16 08:49:12 -07:00 committed by Jon
parent 2f4b07712f
commit a643f8350f

View File

@ -2,6 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pymongo , pymongo
, isPy27
, six , six
, blinker , blinker
, nose , nose
@ -12,6 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mongoengine"; pname = "mongoengine";
version = "0.20.0"; version = "0.20.0";
disabled = isPy27;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MongoEngine"; owner = "MongoEngine";