nixpkgs/pkgs/development/python-modules/gnureadline/default.nix
R. RyanTM 27f9a4253d python37Packages.gnureadline: 6.3.8 -> 8.0.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-gnureadline/versions
2019-07-20 10:24:12 +02:00

30 lines
658 B
Nix

{ stdenv
, 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 stdenv.lib; {
description = "The standard Python readline extension statically linked against the GNU readline library";
homepage = https://github.com/ludwigschwardt/python-gnureadline;
license = licenses.gpl3;
};
}