My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/gnureadline/default.nix

29 lines
650 B

{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, pkgs
}:
buildPythonPackage rec {
version = "8.0.0";
pname = "gnureadline";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "0xllr43dizvybmb68i0ybk1xhaqx5abjwxa9vrg43b9ds0pggvk1";
};
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;
};
}