nixpkgs/pkgs/development/libraries/readline/5.x.nix

21 lines
443 B
Nix
Raw Normal View History

{ lib, 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 = lib.optional stdenv.isDarwin ./shobj-darwin.patch;
2018-10-27 14:25:36 +01:00
meta = with lib; {
branch = "5";
2018-10-27 14:25:36 +01:00
platforms = platforms.unix;
license = licenses.gpl2;
};
}