Skip to content

Commit fee3493

Browse files
vcunatFRidh
authored andcommittedMay 9, 2018
python: 2.7.14 -> 2.7.15 (bugfix + security)
Fixes CVE-2018-1000030, /cc #38993. The ncurses patch no longer applied, and it appears the problems have been resolved upstream https://bugs.python.org/issue25720 python/cpython@6ba0b583d67
1 parent 1d3fe7d commit fee3493

File tree

2 files changed

+2
-120
lines changed

2 files changed

+2
-120
lines changed
 

‎pkgs/development/interpreters/python/cpython/2.7/default.nix

+2-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ with stdenv.lib;
3131

3232
let
3333
majorVersion = "2.7";
34-
minorVersion = "14";
34+
minorVersion = "15";
3535
minorVersionSuffix = "";
3636
pythonVersion = majorVersion;
3737
version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
@@ -40,7 +40,7 @@ let
4040

4141
src = fetchurl {
4242
url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz";
43-
sha256 = "0rka541ys16jwzcnnvjp2v12m4cwgd2jp6wj4kj511p715pb5zvi";
43+
sha256 = "0x2mvz9dp11wj7p5ccvmk9s0hzjk2fa1m462p395l4r6bfnb3n92";
4444
};
4545

4646
hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
@@ -58,8 +58,6 @@ let
5858
# if DETERMINISTIC_BUILD env var is set
5959
./deterministic-build.patch
6060

61-
./properly-detect-curses.patch
62-
6361
] ++ optionals (x11Support && stdenv.isDarwin) [
6462
./use-correct-tcl-tk-on-darwin.patch
6563
] ++ optionals stdenv.isLinux [

‎pkgs/development/interpreters/python/cpython/2.7/properly-detect-curses.patch

-116
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.