Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
647 B · 29 lines
Nix
at litex
123456789101112131415161718192021222324252627282930{ lib, buildPythonPackage, fetchPypi, isPyPy, pkgs}:
buildPythonPackage rec { version = "8.1.2"; pname = "gnureadline"; disabled = isPyPy;
src = fetchPypi { inherit pname version; hash = "sha256-QmKmqjVqsi72QvQ6f5TrQqctbwxTLttOjGuTP1cwVtI="; };
buildInputs = [ pkgs.ncurses ]; patchPhase = '' substituteInPlace setup.py --replace "/bin/bash" "${pkgs.bash}/bin/bash" '';
meta = with lib; { description = "The standard Python readline extension statically linked against the GNU readline library"; homepage = "https://github.com/ludwigschwardt/python-gnureadline"; license = licenses.gpl3; };
}