blob: a7167d0c2262dbb627f2029ba38758673a5b3534 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{stdenv, fetchurl, ocaml, findlib, ocaml_lwt, menhir, ocsigen_deriving}:
stdenv.mkDerivation {
name = "js_of_ocaml";
src = fetchurl {
url = https://github.com/ocsigen/js_of_ocaml/archive/2.2.tar.gz;
sha256 = "1cp81gpvyxgvzxg0vzyl8aa2zvcixp6m433w8zjifrg6vb7lhp97";
};
buildInputs = [ocaml findlib ocaml_lwt menhir ocsigen_deriving];
patches = [ ./Makefile.conf.diff ];
createFindlibDestdir = true;
meta = {
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 = "LGPL";
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.gal_bolle
];
};
}
|