Skip to content

Commit

Permalink
python: 2.7.14 -> 2.7.15 (bugfix + security)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vcunat authored and FRidh committed May 9, 2018
1 parent a18b493 commit 59beaf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 120 deletions.
6 changes: 2 additions & 4 deletions pkgs/development/interpreters/python/cpython/2.7/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ with stdenv.lib;

let
majorVersion = "2.7";
minorVersion = "14";
minorVersion = "15";
minorVersionSuffix = "";
pythonVersion = majorVersion;
version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
Expand All @@ -40,7 +40,7 @@ let

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

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

./properly-detect-curses.patch

] ++ optionals (x11Support && stdenv.isDarwin) [
./use-correct-tcl-tk-on-darwin.patch
] ++ optionals stdenv.isLinux [
Expand Down

This file was deleted.

0 comments on commit 59beaf7

Please sign in to comment.