pythonPackages.pip: 8.1.2 -> 9.0.1

This commit is contained in:
Frederik Rietdijk 2016-11-14 21:58:53 +01:00
parent d83d2ba4f3
commit 27a6d61881
2 changed files with 8 additions and 7 deletions

View File

@ -15,11 +15,11 @@ let
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${python.libPrefix}-bootstrapped-pip-${version}"; name = "${python.libPrefix}-bootstrapped-pip-${version}";
version = "8.1.2"; version = "9.0.1";
src = fetchurl { src = fetchurl {
url = "https://pypi.python.org/packages/9c/32/004ce0852e0a127f07f358b715015763273799bd798956fa930814b60f39/pip-${version}-py2.py3-none-any.whl"; url = "https://files.pythonhosted.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl";
sha256 = "18cjrd66mn4a0gwa99zzs89lrb0xn4xmajdzya6zqd7v16cdsr34"; sha256 = "690b762c0a8460c303c089d5d0be034fb15a5ea2b75bdf565f40421f542fefb0";
}; };
unpackPhase = '' unpackPhase = ''

View File

@ -18419,12 +18419,13 @@ in {
}; };
pip = buildPythonPackage rec { pip = buildPythonPackage rec {
version = "8.1.2"; pname = "pip";
name = "pip-${version}"; version = "9.0.1";
name = "${pname}-${version}";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "mirror://pypi/p/pip/pip-${version}.tar.gz"; url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "0cmpsy9lr9diskkypswm9s8glgr7w3crzh1im4zqlqv7z8zv092d"; sha256 = "09f243e1a7b461f654c26a725fa373211bb7ff17a9300058b205c61658ca940d";
}; };
# pip detects that we already have bootstrapped_pip "installed", so we need # pip detects that we already have bootstrapped_pip "installed", so we need