python3Packages.mailman-web: prevent error from crashing eval

This commit is contained in:
Jonathan Ringer 2020-02-11 14:33:14 -08:00 committed by Jon
parent 9ad3ee23c0
commit 6730bc5144

View File

@ -3,9 +3,6 @@
, django
}:
if lib.versionOlder "2.2" django.version
then throw "mailman-web requires django < 2.2"
else
buildPythonPackage rec {
pname = "mailman-web-unstable";
version = "2019-09-29";
@ -39,5 +36,7 @@ buildPythonPackage rec {
description = "Django project for Mailman 3 web interface";
license = licenses.gpl3;
maintainers = with maintainers; [ peti qyliss ];
# mailman-web requires django < 2.2
broken = versionOlder "2.2" django.version;
};
}