2015-09-15 11:13:22 +02:00
|
|
|
{ stdenv, fetchurl, xlibsWrapper }:
|
2006-03-01 10:18:22 +01:00
|
|
|
|
2016-09-19 19:00:42 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ocaml-${version}";
|
|
|
|
version = "3.08.0";
|
|
|
|
|
2006-03-01 10:18:22 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2016-09-19 19:00:42 +02:00
|
|
|
url = "http://tarballs.nixos.org/${name}.tar.gz";
|
2016-09-10 19:56:04 +02:00
|
|
|
sha256 = "135g5waj7djzrj0dbc8z1llasfs2iv5asq41jifhldxb4l2b97mx";
|
2006-03-01 10:18:22 +01:00
|
|
|
};
|
|
|
|
configureScript = ./configure-3.08.0;
|
|
|
|
dontAddPrefix = "True";
|
2015-09-15 11:13:22 +02:00
|
|
|
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
|
2006-12-27 19:34:35 +01:00
|
|
|
buildFlags = ["world" "bootstrap" "opt"];
|
2006-03-01 10:18:22 +01:00
|
|
|
checkTarget = ["opt.opt"];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2006-03-01 10:18:22 +01:00
|
|
|
}
|