Skip to content

Commit

Permalink
python.pkgs.ipython: allow prompt_toolkit 2.0
Browse files Browse the repository at this point in the history
This applies the appropriate upstream patch:
ipython/ipython@8e256bd
  • Loading branch information
Robert Schütz authored and FRidh committed Jul 26, 2018
1 parent 52baeae commit 178b84c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/ipython/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, fetchpatch
# Build dependencies
, glibcLocales
# Test dependencies
Expand Down Expand Up @@ -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 ];
Expand Down

0 comments on commit 178b84c

Please sign in to comment.