diff options
author | Timo Kaufmann <timokau@zoho.com> | 2018-07-10 14:54:28 +0200 |
---|---|---|
committer | Timo Kaufmann <timokau@zoho.com> | 2018-08-03 15:22:04 +0200 |
commit | 86f058c8427da6a563b799aecf6c4cccdd395278 (patch) | |
tree | c5ffc6fb60f7feb8c18b5ec3de458ca4efc7a3f5 /pkgs/development | |
parent | a6c7132abc972b91826db1cf6f820d6b1b454ba0 (diff) | |
download | nixlib-86f058c8427da6a563b799aecf6c4cccdd395278.tar nixlib-86f058c8427da6a563b799aecf6c4cccdd395278.tar.gz nixlib-86f058c8427da6a563b799aecf6c4cccdd395278.tar.bz2 nixlib-86f058c8427da6a563b799aecf6c4cccdd395278.tar.lz nixlib-86f058c8427da6a563b799aecf6c4cccdd395278.tar.xz nixlib-86f058c8427da6a563b799aecf6c4cccdd395278.tar.zst nixlib-86f058c8427da6a563b799aecf6c4cccdd395278.zip |
python2Packages.ipython: apply upstream signature patch
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/ipython/5.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ipython/5.nix b/pkgs/development/python-modules/ipython/5.nix index f2066fee2a4a..36f581c98afb 100644 --- a/pkgs/development/python-modules/ipython/5.nix +++ b/pkgs/development/python-modules/ipython/5.nix @@ -2,6 +2,7 @@ , stdenv , buildPythonPackage , fetchPypi +, fetchpatch # Build dependencies , glibcLocales # Test dependencies @@ -36,6 +37,16 @@ buildPythonPackage rec { substituteInPlace setup.py --replace "'gnureadline'" " " ''; + patches = [ + # improve cython support, needed by sage, accepted upstream + # https://github.com/ipython/ipython/pull/11139 + (fetchpatch { + name = "signature-use-inspect.patch"; + url = "https://github.com/ipython/ipython/commit/8d399b98d3ed5c765835594100c4d36fb2f739dc.patch"; + sha256 = "1r7v9clwwbskmj4y160vcj6g0vzqbvnj4y1bm2n4bskafapm42g0"; + }) + ]; + buildInputs = [ glibcLocales ]; checkInputs = [ nose pygments testpath ] ++ lib.optional isPy27 mock; |