diff --git a/pkgs/development/libraries/readline/readline4.nix b/pkgs/development/libraries/readline/readline4.nix new file mode 100644 index 000000000000..74944fdf6b8f --- /dev/null +++ b/pkgs/development/libraries/readline/readline4.nix @@ -0,0 +1,11 @@ +{ stdenv, fetchurl, ncurses }: + +stdenv.mkDerivation { + name = "readline-4.3"; + src = fetchurl { + url = http://ftp.gnu.org/pub/gnu/readline/readline-4.3.tar.gz; + md5 = "f86f7cb717ab321fe15f1bbcb058c11e"; + }; + inherit ncurses; + buildInputs = [ncurses]; +} diff --git a/pkgs/development/libraries/readline/default.nix b/pkgs/development/libraries/readline/readline5.nix similarity index 90% rename from pkgs/development/libraries/readline/default.nix rename to pkgs/development/libraries/readline/readline5.nix index b67cf23339ae..fe463432d4bf 100644 --- a/pkgs/development/libraries/readline/default.nix +++ b/pkgs/development/libraries/readline/readline5.nix @@ -2,7 +2,6 @@ stdenv.mkDerivation { name = "readline-5.0"; - builder = ./builder.sh; src = fetchurl { url = http://nix.cs.uu.nl/dist/tarballs/readline-5.0.tar.gz; md5 = "9a39d15f1ed592883f8c6671e8c13120"; diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index d4febe859ff5..65c5e538bb24 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -1147,10 +1147,16 @@ rec { inherit (gtkLibs) glib gtk; }; - readline = (import ../development/libraries/readline) { + readline4 = (import ../development/libraries/readline/readline4.nix) { inherit fetchurl stdenv ncurses; }; + readline5 = (import ../development/libraries/readline/readline5.nix) { + inherit fetchurl stdenv ncurses; + }; + + readline = readline5; + SDL = (import ../development/libraries/SDL) { inherit fetchurl stdenv x11; };