python3Packages.premailer: disable for py2

This commit is contained in:
Jonathan Ringer 2020-11-05 15:30:55 -08:00
parent b5a0e3532b
commit d67cb89b05

View file

@ -1,10 +1,11 @@
{ lib, buildPythonPackage, fetchPypi,
{ lib, buildPythonPackage, fetchPypi, isPy27,
cssselect, cssutils, lxml, mock, nose, requests, cachetools
}:
buildPythonPackage rec {
pname = "premailer";
version = "3.7.0";
disabled = isPy27; # no longer compatible with urllib
src = fetchPypi {
inherit pname version;