mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
erlang and libsigsegv upgraded
svn path=/nixpkgs/branches/stdenv-updates/; revision=10537
This commit is contained in:
parent
4b881c08e3
commit
dd184fa88d
12
pkgs/development/interpreters/erlang/R11B-5.nix
Normal file
12
pkgs/development/interpreters/erlang/R11B-5.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "erlang-" + version;
|
||||
src = fetchurl {
|
||||
url = http://www.erlang.org/download/otp_src_R11B-5.tar.gz;
|
||||
md5 = "96acec41da87d6ee0ef18e1aab36ffdd";
|
||||
};
|
||||
buildInputs = [perl gnum4 ncurses openssl];
|
||||
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
|
||||
configureFlags = "--with-ssl=${openssl}";
|
||||
}
|
12
pkgs/development/interpreters/erlang/R12B-1.nix
Normal file
12
pkgs/development/interpreters/erlang/R12B-1.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "erlang-" + version;
|
||||
src = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_src_" + version + ".tar.gz";
|
||||
sha256 = "16w7snhbjzwiywppsp04yiy2bkncff8pf4i643kqzkqx578jhaqz";
|
||||
};
|
||||
buildInputs = [perl gnum4 ncurses openssl];
|
||||
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
|
||||
configureFlags = "--with-ssl=${openssl}";
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
buildInputs="$perl $gnum4 $ncurses $openssl"
|
||||
|
||||
source $stdenv/setup
|
||||
|
||||
tar xfvz $src
|
||||
cd otp_src_*
|
||||
|
||||
# Fix some hard coded paths to /bin/rm
|
||||
sed -i -e "s|/bin/rm|rm|" lib/odbc/configure
|
||||
sed -i -e "s|/bin/rm|rm|" erts/configure
|
||||
|
||||
./configure --prefix=$out --with-ssl=$openssl
|
||||
make
|
||||
make install
|
|
@ -1,11 +0,0 @@
|
|||
{stdenv, fetchurl, perl, ncurses, gnum4, openssl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "erlang-R11B-5";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.erlang.org/download/otp_src_R11B-5.tar.gz;
|
||||
md5 = "96acec41da87d6ee0ef18e1aab36ffdd";
|
||||
};
|
||||
inherit perl ncurses gnum4 openssl;
|
||||
}
|
14
pkgs/development/libraries/libsigsegv/2.5.nix
Normal file
14
pkgs/development/libraries/libsigsegv/2.5.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libsigsegv-" + version;
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/libsigsegv/${name}.tar.gz";
|
||||
sha256 = "0fvcsq9msi63vrbpvks6mqkrnls5cfy6bzww063sqhk2h49vsyyg";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://libsigsegv.sf.net;
|
||||
description = "A library for handling page faults in user mode";
|
||||
};
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libsigsegv-2.1";
|
||||
src = fetchurl {
|
||||
url = mirror://gnu/libsigsegv/libsigsegv-2.1.tar.gz;
|
||||
md5 = "6d75ca3fede5fbfd72a78bc918d9e174";
|
||||
};
|
||||
}
|
|
@ -1306,7 +1306,7 @@ rec {
|
|||
inherit (xlibs) libX11 libXau libXt;
|
||||
};
|
||||
|
||||
erlang = import ../development/interpreters/erlang {
|
||||
erlang = selectVersion ../development/interpreters/erlang "R12B-1" {
|
||||
inherit fetchurl perl gnum4 ncurses openssl stdenv;
|
||||
};
|
||||
|
||||
|
@ -2296,7 +2296,7 @@ rec {
|
|||
inherit fetchurl stdenv pkgconfig;
|
||||
};
|
||||
|
||||
libsigsegv = import ../development/libraries/libsigsegv {
|
||||
libsigsegv = selectVersion ../development/libraries/libsigsegv "2.5" {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue