21 buildPythonPackage rec {
24 format = "setuptools";
26 disabled = pythonOlder "3.6";
29 inherit pname version;
30 hash = "sha256-nwB4q8iHxIrwiGkeL2R5fWyplKwPS8A8ONBvZX18BSo=";
33 propagatedBuildInputs = [
45 ] ++ lib.optionals (pythonOlder "3.7") [
50 substituteInPlace "$out/share/applications/org.bpython-interpreter.bpython.desktop" \
51 --replace "Exec=/usr/bin/bpython" "Exec=$out/bin/bpython"
58 pythonImportsCheck = [
63 # Check for syntax error ends with an AssertionError
68 description = "A fancy curses interface to the Python interactive interpreter";
69 homepage = "https://bpython-interpreter.org/";
70 license = licenses.mit;
71 maintainers = with maintainers; [ flokli dotlambda ];