mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Adding Erlang R15B02
This commit is contained in:
parent
0757af1693
commit
4fbd441418
28
pkgs/development/interpreters/erlang/R15B01.nix
Normal file
28
pkgs/development/interpreters/erlang/R15B01.nix
Normal 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}";
|
||||
}
|
@ -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 =
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user