at master 862 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 appdirs, 7 jedi, 8 prompt-toolkit, 9 pygments, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "ptpython"; 15 version = "3.0.30"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-UaB/m46/hDWlqusigxzKSlLocCl3GiY33ydjx509h3Y="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 appdirs 29 jedi 30 prompt-toolkit 31 pygments 32 ]; 33 34 # no tests to run 35 doCheck = false; 36 37 pythonImportsCheck = [ "ptpython" ]; 38 39 meta = with lib; { 40 description = "Advanced Python REPL"; 41 homepage = "https://github.com/prompt-toolkit/ptpython"; 42 changelog = "https://github.com/prompt-toolkit/ptpython/blob/${version}/CHANGELOG"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ mlieberman85 ]; 45 }; 46}