1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

pythonPackages.jupyter_console: fix prompt_toolkit vers bounds

This commit is contained in:
Jonathan Ringer 2019-12-22 12:37:58 -08:00 committed by Frederik Rietdijk
parent 7917f24840
commit 90dd235666

View file

@ -20,7 +20,6 @@ buildPythonPackage rec {
sha256 = "308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5";
};
checkInputs = [ nose ];
propagatedBuildInputs = [
jupyter_client
ipython
@ -28,6 +27,12 @@ buildPythonPackage rec {
prompt_toolkit
pygments
];
checkInputs = [ nose ];
postPatch = ''
substituteInPlace setup.py \
--replace "prompt_toolkit>=2.0.0,<2.1.0" "prompt_toolkit"
'';
# ValueError: underlying buffer has been detached
doCheck = false;