10 buildPythonPackage rec {
11 pname = "prompt-toolkit";
13 format = "setuptools";
15 disabled = pythonOlder "3.6";
18 pname = "prompt_toolkit";
20 hash = "sha256-NSe3ryYQbLxloEC8yEg5o1ZuwbBRuwv+lTYx5wSw/30=";
23 propagatedBuildInputs = [
33 # tests/test_completion.py:206: AssertionError
34 # https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1657
35 "test_pathcompleter_can_expanduser"
38 pythonImportsCheck = [
43 description = "Python library for building powerful interactive command lines";
45 prompt_toolkit could be a replacement for readline, but it can be
46 much more than that. It is cross-platform, everything that you build
47 with it should run fine on both Unix and Windows systems. Also ships
48 with a nice interactive Python shell (called ptpython) built on top.
50 homepage = "https://github.com/jonathanslenders/python-prompt-toolkit";
51 changelog = "https://github.com/prompt-toolkit/python-prompt-toolkit/blob/${version}/CHANGELOG";
52 license = licenses.bsd3;
53 maintainers = with maintainers; [ ];