From 7b9141d172a7e531fd054e958039cf12d66120ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 24 Jul 2018 17:23:28 +0200 Subject: [PATCH] python.pkgs.importlib: remove importlib is included in Python 2.7+ and 3.1+ --- pkgs/top-level/python-packages.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d073f19165a..4ad513ac8e1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4840,8 +4840,7 @@ in { sha256 = "01iv8w6lmmq98qjhxmnp8ddjxifmhxcmp612ijd91wc8nv8lk12w"; }; - propagatedBuildInputs = with self; [ django ] ++ - (optionals (pythonOlder "2.7") [ importlib ordereddict ]); + propagatedBuildInputs = with self; [ django ]; meta = { description = "An extension to the Django web framework that provides comprehensive version control facilities"; @@ -6472,17 +6471,6 @@ in { }; }; - importlib = buildPythonPackage rec { - name = "importlib-1.0.2"; - - disabled = isPyPy; - - src = pkgs.fetchurl { - url = "mirror://pypi/i/importlib/importlib-1.0.2.tar.gz"; - sha256 = "131jvp6ahllcqblszjg6fxrzh4k50w8g60sq924b4nb8lxm9dl14"; - }; - }; - inflection = callPackage ../development/python-modules/inflection { }; influxdb = buildPythonPackage rec {