1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/default.nix

31 lines
843 B
Nix
Raw Normal View History

2014-10-14 12:04:19 +01:00
{stdenv, fetchurl, ocaml, findlib, ocaml_lwt, menhir, ocsigen_deriving, camlp4,
2014-10-15 10:13:58 +01:00
cmdliner, tyxml, reactivedata}:
2014-05-28 21:04:40 +01:00
stdenv.mkDerivation {
name = "js_of_ocaml-2.5";
2014-05-28 21:04:40 +01:00
src = fetchurl {
2014-10-14 12:04:19 +01:00
url = https://github.com/ocsigen/js_of_ocaml/archive/2.5.tar.gz;
sha256 = "1prm08nf8szmd3p13ysb0yx1cy6lr671bnwsp25iny8hfbs39sjv";
2014-05-28 21:04:40 +01:00
};
2014-10-14 12:04:19 +01:00
buildInputs = [ocaml findlib ocaml_lwt menhir ocsigen_deriving
2014-10-15 10:13:58 +01:00
cmdliner tyxml camlp4 reactivedata];
2014-05-28 21:04:40 +01:00
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
];
};
}