From 178b84c10d36cab7912c36d3fe266062254d8a72 Mon Sep 17 00:00:00 2001 From: Robert Schütz Date: Mon, 23 Jul 2018 12:02:21 +0200 Subject: python.pkgs.ipython: allow prompt_toolkit 2.0 This applies the appropriate upstream patch: https://github.com/ipython/ipython/commit/8e256bd37373f98580ba1ef1d3fcfd7976802238 --- pkgs/development/python-modules/ipython/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkgs/development/python-modules/ipython/default.nix') diff --git a/pkgs/development/python-modules/ipython/default.nix b/pkgs/development/python-modules/ipython/default.nix index 2c0e4aaf4db6..24a938b195b2 100644 --- a/pkgs/development/python-modules/ipython/default.nix +++ b/pkgs/development/python-modules/ipython/default.nix @@ -3,6 +3,7 @@ , buildPythonPackage , fetchPypi , pythonOlder +, fetchpatch # Build dependencies , glibcLocales # Test dependencies @@ -34,6 +35,12 @@ buildPythonPackage rec { substituteInPlace setup.py --replace "'gnureadline'" " " ''; + # Upgrade to prompt_toolkit 2.0 + patches = fetchpatch { + url = https://github.com/ipython/ipython/commit/8e256bd37373f98580ba1ef1d3fcfd7976802238.patch; + sha256 = "1d9qy2z21n4frf15g4aj7xi011d1d3qc31gs27f2v23j0gv69r9h"; + }; + buildInputs = [ glibcLocales ]; checkInputs = [ nose pygments ]; -- cgit 1.4.1