14910f5943
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
21 lines
470 B
Nix
21 lines
470 B
Nix
{ lib, stdenv, fetchurl, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "readline";
|
|
version = "5.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/readline/readline-${version}.tar.gz";
|
|
sha256 = "0icz4hqqq8mlkwrpczyaha94kns0am9z0mh3a2913kg2msb8vs0j";
|
|
};
|
|
|
|
propagatedBuildInputs = [ncurses];
|
|
|
|
patches = lib.optional stdenv.isDarwin ./shobj-darwin.patch;
|
|
|
|
meta = with lib; {
|
|
branch = "5";
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|