12 buildDunePackage rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-9xYSxiPKZP7U1wbnw3/FiLhF/JmTA12rlrr4jSynA3k=";
23 minimalOCamlVersion = "4.11";
25 propagatedBuildInputs = [
33 doCheck = lib.versionAtLeast ocaml.version "4.13";
36 homepage = "https://github.com/LexiFi/gen_js_api";
37 description = "Easy OCaml bindings for JavaScript libraries";
39 gen_js_api aims at simplifying the creation of OCaml bindings for
40 JavaScript libraries. Authors of bindings write OCaml signatures for
41 JavaScript libraries and the tool generates the actual binding code with a
42 combination of implicit conventions and explicit annotations.
44 gen_js_api is to be used with the js_of_ocaml compiler.
46 license = lib.licenses.mit;
47 maintainers = [ lib.maintainers.bcc32 ];