My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix

28 lines
750 B

{ lib, fetchurl, buildDunePackage
, cmdliner, yojson, ppxlib
, menhir, menhirLib
}:
buildDunePackage rec {
pname = "js_of_ocaml-compiler";
version = "4.0.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
sha256 = "sha256:0pj9jjrmi0xxrzmygv4b5whsibw1jxy3wgibmws85x5jwlczh0nz";
};
nativeBuildInputs = [ menhir ];
buildInputs = [ cmdliner ppxlib ];
configurePlatforms = [];
propagatedBuildInputs = [ menhirLib yojson ];
meta = {
description = "Compiler from OCaml bytecode to Javascript";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://ocsigen.org/js_of_ocaml/";
};
}