29 lines
923 B
Nix
29 lines
923 B
Nix
{stdenv, fetchurl, ocaml, findlib, ocaml_lwt, menhir, ocsigen_deriving, camlp4,
|
|
cmdliner, tyxml, reactivedata, cppo, which, base64}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "js_of_ocaml-2.6";
|
|
src = fetchurl {
|
|
url = https://github.com/ocsigen/js_of_ocaml/archive/2.6.tar.gz;
|
|
sha256 = "0q34lrn70dvz41m78bwgriyq6dxk97g8gcyg80nvxii4jp86dw61";
|
|
};
|
|
|
|
buildInputs = [ocaml findlib menhir ocsigen_deriving
|
|
cmdliner tyxml reactivedata cppo which base64];
|
|
propagatedBuildInputs = [ ocaml_lwt camlp4 ];
|
|
|
|
patches = [ ./Makefile.conf.diff ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://ocsigen.org/js_of_ocaml/;
|
|
description = "Compiler of OCaml bytecode to Javascript. It makes it possible to run Ocaml programs in a Web browser";
|
|
license = licenses.lgpl2;
|
|
platforms = ocaml.meta.platforms;
|
|
maintainers = [
|
|
maintainers.gal_bolle
|
|
];
|
|
};
|
|
}
|