Files
nixpkgs/pkgs/development/python-modules/gnureadline/default.nix
T
Martin Weinelt 3f53ace962 python3Packages.gnureadline: 8.2.13 -> 8.3.3
This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:10 +01:00

31 lines
668 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPyPy,
pkgs,
}:
buildPythonPackage rec {
version = "8.3.3";
format = "setuptools";
pname = "gnureadline";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
hash = "sha256-CXI5K9LzEkTi2YEXgkb+i3Kch2ZFT9rrJ1lGrEe36f0=";
};
buildInputs = [ pkgs.ncurses ];
patchPhase = ''
substituteInPlace setup.py --replace "/bin/bash" "${pkgs.bash}/bin/bash"
'';
meta = {
description = "Standard Python readline extension statically linked against the GNU readline library";
homepage = "https://github.com/ludwigschwardt/python-gnureadline";
license = lib.licenses.gpl3;
};
}