2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, ncurses }:
|
2014-09-01 10:33:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "readline-5.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "mirror://gnu/readline/readline-5.2.tar.gz";
|
2014-09-01 10:33:48 +01:00
|
|
|
sha256 = "0icz4hqqq8mlkwrpczyaha94kns0am9z0mh3a2913kg2msb8vs0j";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ncurses];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
patches = lib.optional stdenv.isDarwin ./shobj-darwin.patch;
|
2018-10-27 14:25:36 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-11-19 18:53:56 +00:00
|
|
|
branch = "5";
|
2018-10-27 14:25:36 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2;
|
2014-11-19 18:53:56 +00:00
|
|
|
};
|
2014-09-01 10:33:48 +01:00
|
|
|
}
|