js_of_ocaml: 2.6 -> 2.7

This commit is contained in:
Florent Becker 2016-05-30 17:45:20 +02:00 committed by Florent Becker
parent 2ddee12a42
commit 527c1cba37

View File

@ -1,24 +1,18 @@
{stdenv, fetchurl, ocaml, findlib, ocaml_lwt, menhir, ocsigen_deriving, camlp4, {stdenv, fetchurl, ocaml, findlib, ocaml_lwt, menhir, ocsigen_deriving, camlp4,
cmdliner, tyxml, reactivedata, cppo, which, base64}: cmdliner, tyxml, reactivedata, cppo, which, base64}:
let camlp4_patch = fetchurl {
url = "https://github.com/FlorentBecker/js_of_ocaml/commit/3b511c5bb777d5049c49d7a04c01f142de7096b9.patch";
sha256 = "c92eda8be504cd41eb242166fc815af496243b63d4d21b169f5b62ec5ace2d39";
};
in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "js_of_ocaml-2.6"; name = "js_of_ocaml-2.7";
src = fetchurl { src = fetchurl {
url = https://github.com/ocsigen/js_of_ocaml/archive/2.6.tar.gz; url = https://github.com/ocsigen/js_of_ocaml/archive/2.7.tar.gz;
sha256 = "0q34lrn70dvz41m78bwgriyq6dxk97g8gcyg80nvxii4jp86dw61"; sha256 = "1dali1akyd4zmkwav0d957ynxq2jj6cc94r4xiaql7ca89ajz4jj";
}; };
buildInputs = [ocaml findlib menhir ocsigen_deriving buildInputs = [ocaml findlib menhir ocsigen_deriving
cmdliner tyxml reactivedata cppo which base64]; cmdliner tyxml reactivedata cppo which base64];
propagatedBuildInputs = [ ocaml_lwt camlp4 ]; propagatedBuildInputs = [ ocaml_lwt camlp4 ];
patches = [ ./Makefile.conf.diff camlp4_patch ]; patches = [ ./Makefile.conf.diff ];
createFindlibDestdir = true; createFindlibDestdir = true;