mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
19 lines
414 B
Nix
19 lines
414 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 = {
|
|
branch = "5";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|