1 { lib, stdenv, fetchurl, xlibsWrapper, ncurses }:
6 version = "3.09-alpha-30";
9 url = "http://www.metaocaml.org/dist/old/MetaOCaml_309_alpha_030.tar.gz";
10 sha256 = "0migbn0zwfb7yb24dy7qfqi19sv3drqcv4369xi7xzpds2cs35fd";
13 prefixKey = "-prefix ";
14 configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
15 buildFlags = [ "world" "bootstrap" "world.opt" ];
16 buildInputs = [xlibsWrapper ncurses];
17 installTargets = "install installopt";
20 sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang
24 ln -sv $out/lib/ocaml/caml $out/include/caml
28 homepage = "http://www.metaocaml.org/";
29 license = with lib.licenses; [ qpl lgpl2 ];
30 description = "A compiled, type-safe, multi-stage programming language";