pythonPackages.webtest: disable for python2

python2 tries to import paste.deploy, which is no longer valid
This commit is contained in:
Jonathan Ringer 2019-10-17 15:51:31 -07:00 committed by Frederik Rietdijk
parent dd5522ad53
commit 4ba99e2361

View File

@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, nose
, webob
, six
@ -15,6 +16,7 @@
buildPythonPackage rec {
version = "2.0.32";
pname = "webtest";
disabled = isPy27; # paste.deploy is not longer a valid import
src = fetchPypi {
pname = "WebTest";