diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-06-06 14:41:54 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-06-06 14:42:10 +0200 |
commit | 76e082922f34ba9915d53492b1a4075e51fd2915 (patch) | |
tree | d3648896c4dec717a012447ddae5197b07001afd /pkgs/development/python-modules/bootstrapped-pip | |
parent | 7111351963a56e5052f8e3fbb016a0b2b1ab3a91 (diff) | |
download | nixlib-76e082922f34ba9915d53492b1a4075e51fd2915.tar nixlib-76e082922f34ba9915d53492b1a4075e51fd2915.tar.gz nixlib-76e082922f34ba9915d53492b1a4075e51fd2915.tar.bz2 nixlib-76e082922f34ba9915d53492b1a4075e51fd2915.tar.lz nixlib-76e082922f34ba9915d53492b1a4075e51fd2915.tar.xz nixlib-76e082922f34ba9915d53492b1a4075e51fd2915.tar.zst nixlib-76e082922f34ba9915d53492b1a4075e51fd2915.zip |
python.pkgs.bootstripped-pip: remove obsolete argparse code
because we no longer have Python 2.6.
Diffstat (limited to 'pkgs/development/python-modules/bootstrapped-pip')
-rw-r--r-- | pkgs/development/python-modules/bootstrapped-pip/default.nix | 8 |
1 files changed, 0 insertions, 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 ''; |