11 buildPythonPackage rec {
12 pname = "prompt-toolkit";
14 format = "setuptools";
16 disabled = pythonOlder "3.6";
19 pname = "prompt_toolkit";
21 hash = "sha256-1mI6sEd6gN905ka9vJNiEUP1yvEEIGqikpTVPeGgPZA=";
24 propagatedBuildInputs = [
29 nativeCheckInputs = [ pytestCheckHook ];
32 # tests/test_completion.py:206: AssertionError
33 # https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1657
34 "test_pathcompleter_can_expanduser"
37 pythonImportsCheck = [ "prompt_toolkit" ];
40 description = "Python library for building powerful interactive command lines";
42 prompt_toolkit could be a replacement for readline, but it can be
43 much more than that. It is cross-platform, everything that you build
44 with it should run fine on both Unix and Windows systems. Also ships
45 with a nice interactive Python shell (called ptpython) built on top.
47 homepage = "https://github.com/jonathanslenders/python-prompt-toolkit";
48 changelog = "https://github.com/prompt-toolkit/python-prompt-toolkit/blob/${version}/CHANGELOG";
49 license = licenses.bsd3;