ocamlPackages.js_of_ocaml: 3.10.0 → 3.11.0

main
Vincent Laporte 2 years ago committed by Vincent Laporte
parent e88d6f9cfd
commit 71a636dafd
  1. 12
      pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
  2. 3
      pkgs/development/tools/ocaml/js_of_ocaml/ppx.nix

@ -1,23 +1,23 @@
{ lib, fetchurl, buildDunePackage
, ocaml, cmdliner, cppo, yojson, ppxlib
, cmdliner, yojson, ppxlib
, menhir, menhirLib
}:
buildDunePackage rec {
pname = "js_of_ocaml-compiler";
version = "3.10.0";
version = "3.11.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
sha256 = "09k19bygxl766dmshrp5df3i99jfm8bmamb4jggm62p3hg19bzkv";
sha256 = "sha256:0flws9mw0yjfw4d8d3y3k408mivy2xgky70xk1br3iqs4zksz38m";
};
nativeBuildInputs = [ cppo menhir ];
buildInputs = [ cmdliner menhirLib ];
nativeBuildInputs = [ menhir ];
buildInputs = [ cmdliner ppxlib ];
configurePlatforms = [];
propagatedBuildInputs = [ yojson ppxlib ];
propagatedBuildInputs = [ menhirLib yojson ];
meta = {
description = "Compiler from OCaml bytecode to Javascript";

@ -8,5 +8,6 @@ buildDunePackage {
inherit (js_of_ocaml-compiler) version src meta useDune2;
buildInputs = [ ppxlib js_of_ocaml ];
buildInputs = [ js_of_ocaml ];
propagatedBuildInputs = [ ppxlib ];
}

Loading…
Cancel
Save