2015-09-15 09:13:22 +00:00
|
|
|
{ stdenv, fetchurl, xlibsWrapper }:
|
2006-03-01 09:18:22 +00:00
|
|
|
|
2016-09-19 17:00:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ocaml";
|
2016-09-19 17:00:42 +00:00
|
|
|
version = "3.08.0";
|
|
|
|
|
2006-03-01 09:18:22 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://tarballs.nixos.org/${pname}-${version}.tar.gz";
|
2016-09-10 17:56:04 +00:00
|
|
|
sha256 = "135g5waj7djzrj0dbc8z1llasfs2iv5asq41jifhldxb4l2b97mx";
|
2006-03-01 09:18:22 +00:00
|
|
|
};
|
|
|
|
configureScript = ./configure-3.08.0;
|
|
|
|
dontAddPrefix = "True";
|
2015-09-15 09:13:22 +00: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 16:06:29 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2006-03-01 09:18:22 +00:00
|
|
|
}
|