summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix')
-rw-r--r--pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix b/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
index de8906dba44..80e19af292d 100644
--- a/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
+++ b/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
@@ -1,24 +1,22 @@
 { lib, fetchurl, buildDunePackage
 , cmdliner, yojson, ppxlib, findlib
-, menhir, menhirLib
+, menhir, menhirLib, sedlex
 }:
 
 buildDunePackage rec {
   pname = "js_of_ocaml-compiler";
-  version = "4.1.0";
-  duneVersion = "3";
+  version = "5.3.0";
   minimalOCamlVersion = "4.08";
 
   src = fetchurl {
     url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
-    sha256 = "sha256-kXk/KaWvPeq6P301zqsR5znP4KXMMFVvYgFGGm1CNu8=";
+    hash = "sha256-vp497rmOXSjxvLLZhHwE0ohfwH7VjM2LCKpLZijNZNI=";
   };
 
   nativeBuildInputs = [ menhir ];
   buildInputs = [ cmdliner ppxlib ];
 
-  configurePlatforms = [];
-  propagatedBuildInputs = [ menhirLib yojson findlib ];
+  propagatedBuildInputs = [ menhirLib yojson findlib sedlex ];
 
   meta = {
     description = "Compiler from OCaml bytecode to Javascript";