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 {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ocaml";
|
2016-09-19 19:00:42 +02:00
|
|
|
version = "3.08.0";
|
|
|
|
|
2006-03-01 10:18:22 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "http://tarballs.nixos.org/${pname}-${version}.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 = {
|
2021-01-22 12:25:31 +01:00
|
|
|
platforms = lib.platforms.linux;
|
2016-08-02 18:06:29 +02:00
|
|
|
};
|
2006-03-01 10:18:22 +01:00
|
|
|
}
|