nixpkgs/pkgs/development/compilers/ocaml/3.09.1.nix
Yury G. Kudryashov cf76a30070 ocaml: Added 3.10.0, using getVersion staff
I've added the latest (3.10.0) version of ocaml and let the user choose default
version.

svn path=/nixpkgs/trunk/; revision=9671
2007-11-14 22:39:58 +00:00

17 lines
454 B
Nix

args: with args;
stdenv.mkDerivation {
name = "ocaml-3.09.1";
builder = ./builder.sh;
src = fetchurl {
url = http://caml.inria.fr/pub/distrib/ocaml-3.09/ocaml-3.09.1.tar.gz;
md5 = "c73f4b093e27ba5bf13d62923f89befc";
};
configureScript = ./configure-3.09.1;
dontAddPrefix = "True";
configureFlags = ["-no-tk" "-x11lib" x11];
buildFlags = ["world" "bootstrap" "opt"];
checkTarget = ["opt.opt"];
buildInputs = [x11 ncurses];
}