mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
21 lines
450 B
Nix
21 lines
450 B
Nix
{ stdenv, fetchurl, ncurses }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "readline-5.2";
|
|
|
|
src = fetchurl {
|
|
url = mirror://gnu/readline/readline-5.2.tar.gz;
|
|
sha256 = "0icz4hqqq8mlkwrpczyaha94kns0am9z0mh3a2913kg2msb8vs0j";
|
|
};
|
|
|
|
propagatedBuildInputs = [ncurses];
|
|
|
|
patches = stdenv.lib.optional stdenv.isDarwin ./shobj-darwin.patch;
|
|
|
|
meta = with stdenv.lib; {
|
|
branch = "5";
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|