Skip to content

Commit ea052b6

Browse files
committedJun 30, 2017
ocamlPackages.js_of_ocaml: 2.8.3 -> 2.8.4
1 parent f0c3e5f commit ea052b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

Diff for: ‎pkgs/development/tools/ocaml/js_of_ocaml/default.nix

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{ stdenv, fetchurl, ocaml, findlib, ocaml_lwt, menhir, ocsigen_deriving, ppx_deriving, camlp4, ocamlbuild
2-
, cmdliner, tyxml, reactivedata, cppo, which, base64, uchar
2+
, cmdliner, tyxml, reactivedata, cppo, which, base64, uchar, yojson
33
}:
44

55
let version = if stdenv.lib.versionAtLeast ocaml.version "4.02"
6-
then "2.8.3" else "2.7";
6+
then "2.8.4" else "2.7";
77
in
88

99
stdenv.mkDerivation {
@@ -12,15 +12,15 @@ stdenv.mkDerivation {
1212
url = "https://github.com/ocsigen/js_of_ocaml/archive/${version}.tar.gz";
1313
sha256 = {
1414
"2.7" = "1dali1akyd4zmkwav0d957ynxq2jj6cc94r4xiaql7ca89ajz4jj";
15-
"2.8.3" = "0xrw215w5saqdcdd9ipjhvg8f982z63znsds9ih445s3jr49szm7";
15+
"2.8.4" = "098ph50s9kqw6rc3qjn39zv9b5swdf4qr44afwqfkkjgjs5d7vbl";
1616
}."${version}";
1717
};
1818

1919
buildInputs = [ ocaml findlib menhir ocsigen_deriving ocamlbuild
2020
cmdliner reactivedata cppo which base64 ]
21-
++ stdenv.lib.optional (stdenv.lib.versionAtLeast ocaml.version "4.02") tyxml;
21+
++ stdenv.lib.optionals (stdenv.lib.versionAtLeast ocaml.version "4.02") [ yojson tyxml ];
2222
propagatedBuildInputs = [ ocaml_lwt camlp4 ppx_deriving ]
23-
++ stdenv.lib.optional (version == "2.8.3") uchar;
23+
++ stdenv.lib.optional (version == "2.8.4") uchar;
2424

2525
patches = [ ./Makefile.conf.diff ];
2626

0 commit comments

Comments
 (0)
Please sign in to comment.