11 if lib.versionOlder ocaml.version "4.07" then
12 throw "lua-ml is not available for OCaml ${ocaml.version}"
15 stdenv.mkDerivation rec {
17 name = "ocaml${ocaml.version}-${pname}-${version}";
20 src = fetchFromGitHub {
24 sha256 = "sha256-xkjsjKD89W7Y5XK8kfL/ZErYKS14z0u0QCARN0DbTC8=";
36 buildFlags = [ "lib" ];
39 opaline -prefix $out -libdir $OCAMLFIND_DESTDIR
43 description = "Embeddable Lua 2.5 interpreter implemented in OCaml";
44 inherit (src.meta) homepage;
45 inherit (ocaml.meta) platforms;
46 license = lib.licenses.bsd2;
47 maintainers = [ lib.maintainers.vbgl ];