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