js_of_ocaml: 3.6.0 → 3.7.0

This commit is contained in:
Vincent Laporte 2020-08-08 06:36:44 +02:00 committed by Vincent Laporte
parent e30218d8a6
commit 774db64cc6
2 changed files with 4 additions and 5 deletions

View File

@ -1,18 +1,19 @@
{ lib, fetchurl, buildDunePackage
, ocaml, findlib, cmdliner, dune_2, cppo, yojson, ocaml-migrate-parsetree
, menhir
}:
buildDunePackage rec {
pname = "js_of_ocaml-compiler";
version = "3.6.0";
version = "3.7.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
sha256 = "51eaa89c83ef3168ef270bf7997cbc35a747936d3f51aa6fac58fb0323b4cbb0";
sha256 = "0rw6cfkl3zlyav8q2w7grxxqjmg35mz5rgvmkiqb58nl4gmgzx6w";
};
nativeBuildInputs = [ ocaml findlib dune_2 cppo ];
nativeBuildInputs = [ ocaml findlib dune_2 cppo menhir ];
buildInputs = [ cmdliner ];
configurePlatforms = [];

View File

@ -10,8 +10,6 @@ stdenv.mkDerivation {
buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ];
nativeBuildInputs = [ ocaml findlib dune_2 ];
postPatch = "patchShebangs lib/generate_stubs.sh";
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
buildPhase = "dune build -p js_of_ocaml";