1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 docopt, 7 six, 8 wcwidth, 9 pygments, 10}: 11 12buildPythonPackage rec { 13 pname = "prompt-toolkit"; 14 version = "1.0.18"; 15 16 src = fetchPypi { 17 pname = "prompt_toolkit"; 18 inherit version; 19 sha256 = "dd4fca02c8069497ad931a2d09914c6b0d1b50151ce876bc15bde4c747090126"; 20 }; 21 22 propagatedBuildInputs = [ 23 docopt 24 six 25 wcwidth 26 pygments 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 disabledTests = [ "test_pathcompleter_can_expanduser" ]; 32 33 meta = with lib; { 34 description = "Python library for building powerful interactive command lines"; 35 longDescription = '' 36 prompt_toolkit could be a replacement for readline, but it can be 37 much more than that. It is cross-platform, everything that you build 38 with it should run fine on both Unix and Windows systems. Also ships 39 with a nice interactive Python shell (called ptpython) built on top. 40 ''; 41 homepage = "https://github.com/jonathanslenders/python-prompt-toolkit"; 42 maintainers = with maintainers; [ ]; 43 license = licenses.bsd3; 44 }; 45}