20 buildPythonPackage rec {
23 format = "setuptools";
25 disabled = pythonOlder "3.7";
28 inherit pname version;
29 hash = "sha256-mHNv/XqMSP0r+1PYmKR19CQb3gtnISVwavBNnQj9Pb0=";
32 propagatedBuildInputs = [
47 substituteInPlace "$out/share/applications/org.bpython-interpreter.bpython.desktop" \
48 --replace "Exec=/usr/bin/bpython" "Exec=$out/bin/bpython"
51 nativeCheckInputs = [ pytestCheckHook ];
53 pythonImportsCheck = [ "bpython" ];
56 # Check for syntax error ends with an AssertionError
61 description = "Fancy curses interface to the Python interactive interpreter";
62 homepage = "https://bpython-interpreter.org/";
63 license = licenses.mit;
64 maintainers = with maintainers; [