Adding Erlang R15B02

This commit is contained in:
Malcolm 2012-11-11 16:34:10 +01:00 committed by Peter Simons
parent 0757af1693
commit 4fbd441418
3 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl
, wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }:
assert wxSupport -> mesa != null && wxGTK != null && xlibs != null;
let version = "R15B01"; in
stdenv.mkDerivation {
name = "erlang-" + version;
src = fetchurl {
url = "http://www.erlang.org/download/otp_src_" + version + ".tar.gz";
sha256 = "1pmb3hk51p6dwsspxx40qs7gjfyhxjjc3290qk6w1wwa6bkpskzr";
};
buildInputs =
[ perl gnum4 ncurses openssl
] ++ stdenv.lib.optional wxSupport [ mesa wxGTK xlibs.libX11 ];
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
preConfigure = ''
export HOME=$PWD/../
sed -e s@/bin/pwd@pwd@g -i otp_build
'';
configureFlags = "--with-ssl=${openssl}";
}

View File

@ -3,14 +3,14 @@
assert wxSupport -> mesa != null && wxGTK != null && xlibs != null;
let version = "R15B01"; in
let version = "R15B02"; in
stdenv.mkDerivation {
name = "erlang-" + version;
src = fetchurl {
url = "http://www.erlang.org/download/otp_src_" + version + ".tar.gz";
sha256 = "1pmb3hk51p6dwsspxx40qs7gjfyhxjjc3290qk6w1wwa6bkpskzr";
sha256 = "03eb0bd640916666ff83df1330912225fbf555e0c8cf58bb35d8307a314f1158";
};
buildInputs =

View File

@ -2739,6 +2739,8 @@ let
erlang = callPackage ../development/interpreters/erlang { };
erlangR15B01 = callPackage ../development/interpreters/erlang/R15B01.nix { };
erlangR14B04 = callPackage ../development/interpreters/erlang/R14B04.nix { };
groovy = callPackage ../development/interpreters/groovy { };