From 61859b9d598784f848aebc81283bd059ba26ee7e Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 19 Sep 2016 11:46:36 +0200 Subject: [PATCH] pythonPackages.futures: null when Python 3 --- pkgs/top-level/python-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cacb04e70c7d..80fc2cc57218 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11016,7 +11016,7 @@ in modules // { }; }; - futures = buildPythonPackage rec { + futures = if !(isPy3k) then (buildPythonPackage rec { name = "futures-${version}"; version = "3.0.5"; @@ -11041,7 +11041,7 @@ in modules // { license = licenses.bsd2; maintainers = with maintainers; [ garbas ]; }; - }; + }) else null; futures_2_2 = self.futures.override rec { version = "2.2.0";