From 76e082922f34ba9915d53492b1a4075e51fd2915 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 6 Jun 2017 14:41:54 +0200 Subject: [PATCH] python.pkgs.bootstripped-pip: remove obsolete argparse code because we no longer have Python 2.6. --- .../python-modules/bootstrapped-pip/default.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkgs/development/python-modules/bootstrapped-pip/default.nix b/pkgs/development/python-modules/bootstrapped-pip/default.nix index cdc77249cb80..0f8b6652c267 100644 --- a/pkgs/development/python-modules/bootstrapped-pip/default.nix +++ b/pkgs/development/python-modules/bootstrapped-pip/default.nix @@ -13,11 +13,6 @@ let format = "wheel"; sha256 = "f2900e560efc479938a219433c48f15a4ff4ecfe575a65de385eeb44f2425587"; }; - argparse_source = fetchPypi { - pname = "argparse"; - version = "1.4.0"; - sha256 = "c31647edb69fd3d465a847ea3157d37bed1f95f19760b11a47aa91c04b666314"; - }; in stdenv.mkDerivation rec { pname = "pip"; version = "9.0.1"; @@ -34,11 +29,8 @@ in stdenv.mkDerivation rec { unzip -d $out/${python.sitePackages} $src unzip -d $out/${python.sitePackages} ${setuptools_source} unzip -d $out/${python.sitePackages} ${wheel_source} - '' + stdenv.lib.optionalString (python.isPy26 or false) '' - unzip -d $out/${python.sitePackages} ${argparse_source} ''; - patchPhase = '' mkdir -p $out/bin '';