10 # https://github.com/bmeurer/ocamlnat/issues/3
11 assert lib.versionOlder ocaml.version "4";
13 stdenv.mkDerivation rec {
18 url = "http://benediktmeurer.de/files/source/${pname}-${version}.tar.bz2";
19 sha256 = "0dyvy0j6f47laxhnadvm71z1py9hz9zd49hamf6bij99cggb2ij1";
26 checkInputs = [ ounit ];
30 prefixKey = "--prefix ";
36 createFindlibDestdir = true;
39 description = "OCaml native toplevel";
40 homepage = "http://benediktmeurer.de/ocamlnat/";
41 license = lib.licenses.qpl;
43 The ocamlnat project provides a new native code OCaml toplevel
44 ocamlnat, which is mostly compatible to the byte code toplevel ocaml,
45 but up to 100 times faster. It is based on the optimizing native code
46 compiler, the native runtime and an earlier prototype by Alain
47 Frisch. It is build upon Just-In-Time techniques and currently
48 supports Unix-like systems (i.e. Linux, BSD or macOS) running on
49 x86 or x86-64 processors. Support for additional architectures and
50 operating systems is planned, but not yet available.
52 inherit (ocaml.meta) platforms;
54 lib.maintainers.maggesi