1{ stdenv, buildPythonPackage, fetchPypi, wcwidth, six, prompt_toolkit, docopt 2, jedi, pygments }: 3 4buildPythonPackage rec { 5 pname = "ptpython"; 6 version = "0.41"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1hcaaadkp5n37hxggraynifa33wx1akklzvf6y4rvgjxbjl2g2x7"; 12 }; 13 14 propagatedBuildInputs = [ wcwidth six prompt_toolkit docopt jedi pygments ]; 15 16 # no tests to run 17 doCheck = false; 18 19 meta = with stdenv.lib; { 20 description = "An advanced Python REPL"; 21 license = licenses.bsd3; 22 maintainers = with maintainers; [ mlieberman85 ]; 23 platforms = platforms.all; 24 }; 25}