1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/gnureadline/default.nix
R. RyanTM 34f3354ccd python36Packages.gnureadline: 6.3.3 -> 6.3.8
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.6-gnureadline/versions
2018-10-24 20:07:34 +02:00

30 lines
657 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
, pkgs
}:
buildPythonPackage rec {
version = "6.3.8";
pname = "gnureadline";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "0ddhj98x2nv45iz4aadk4b9m0b1kpsn1xhcbypn5cd556knhiqjq";
};
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 = http://github.com/ludwigschwardt/python-gnureadline;
license = licenses.gpl3;
};
}