From 6e8456ef71a2cf9bead7f6d332f84b142bdc402d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 24 May 2020 04:20:00 -0500 Subject: [PATCH] python27Packages.parsel: fix dependencies --- pkgs/development/python-modules/parsel/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/parsel/default.nix b/pkgs/development/python-modules/parsel/default.nix index ef1b19b8fc4c..319f83f72755 100644 --- a/pkgs/development/python-modules/parsel/default.nix +++ b/pkgs/development/python-modules/parsel/default.nix @@ -8,6 +8,7 @@ , w3lib , lxml , cssselect +, isPy27 }: buildPythonPackage rec { @@ -20,7 +21,7 @@ buildPythonPackage rec { }; checkInputs = [ pytest pytestrunner ]; - propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ]; + propagatedBuildInputs = [ six w3lib lxml cssselect ] ++ lib.optionals isPy27 [ functools32 ]; checkPhase = '' py.test