lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 41 lines 1.1 kB view raw
1{ buildDunePackage 2, lib 3, ppxlib 4, fetchFromGitHub 5, ojs 6, js_of_ocaml-compiler 7, nodejs 8}: 9 10buildDunePackage rec { 11 pname = "gen_js_api"; 12 version = "1.1.1"; 13 14 src = fetchFromGitHub { 15 owner = "LexiFi"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "sha256-0FKKYPbSBza/Q6oZniq/UHi5zBjD/i7j5ds3ZDWkBTs="; 19 }; 20 21 minimalOCamlVersion = "4.11"; 22 23 propagatedBuildInputs = [ ojs ppxlib ]; 24 checkInputs = [ js_of_ocaml-compiler nodejs ]; 25 doCheck = true; 26 27 meta = { 28 homepage = "https://github.com/LexiFi/gen_js_api"; 29 description = "Easy OCaml bindings for JavaScript libraries"; 30 longDescription = '' 31 gen_js_api aims at simplifying the creation of OCaml bindings for 32 JavaScript libraries. Authors of bindings write OCaml signatures for 33 JavaScript libraries and the tool generates the actual binding code with a 34 combination of implicit conventions and explicit annotations. 35 36 gen_js_api is to be used with the js_of_ocaml compiler. 37 ''; 38 license = lib.licenses.mit; 39 maintainers = [ lib.maintainers.bcc32 ]; 40 }; 41}