1 { lib, fetchurl, buildDunePackage
2 , cmdliner, yojson, ppxlib, findlib
3 , menhir, menhirLib, sedlex
7 pname = "js_of_ocaml-compiler";
9 minimalOCamlVersion = "4.08";
12 url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
13 hash = "sha256-DqSOKqiQTsVi8iX6CT/2dLVODnUU2uhie4/Y93IQOD0=";
16 nativeBuildInputs = [ menhir ];
17 buildInputs = [ cmdliner ppxlib ];
19 propagatedBuildInputs = [ menhirLib yojson findlib sedlex ];
22 description = "Compiler from OCaml bytecode to Javascript";
23 homepage = "https://ocsigen.org/js_of_ocaml/";
24 license = lib.licenses.gpl2;
25 maintainers = [ lib.maintainers.vbgl ];
26 mainProgram = "js_of_ocaml";