js_of_ocaml: 3.4.0 -> 3.5.2 (#75766)

drive-by contributions, as I was playing around with this (it has better
support for the `num` library, it seems.)

js_of_ocaml: 3.4.0 -> 3.5.2
ocamlPackages.js_of_ocaml-ppx_deriving_json: use ppxlib-0.12.0
ocamlPackages.eliom: 6.8.0 → 6.10.1
ocamlPackages.ocsigen-toolkit: 2.2.0 → 2.5.0
ocamlPackages.ocsigen-start: 2.7.0 → 2.16.1

Co-authored-by: Vincent Laporte <Vincent.Laporte@gmail.com>
This commit is contained in:
Joachim Breitner
2020-03-06 07:42:04 +01:00
committed by GitHub
co-authored by Vincent Laporte
parent e8243467b9
commit 2d2a5a9b63
8 changed files with 38 additions and 26 deletions
@@ -1,23 +1,23 @@
{ lib, fetchFromGitHub, buildDunePackage
, ocaml, findlib, cmdliner, dune, cppo, yojson
, ocaml, findlib, cmdliner, dune, cppo, yojson, ocaml-migrate-parsetree
}:
buildDunePackage rec {
pname = "js_of_ocaml-compiler";
version = "3.4.0";
version = "3.5.2";
src = fetchFromGitHub {
owner = "ocsigen";
repo = "js_of_ocaml";
rev = version;
sha256 = "0c537say0f3197zn8d83nrihabrxyn28xc6d7c9c3l0vvrv6qvfj";
sha256 = "1fm855iavljx7rf9hii2qb7ky920zv082d9zlcl504by1bxp1yg8";
};
nativeBuildInputs = [ ocaml findlib dune cppo ];
buildInputs = [ cmdliner ];
configurePlatforms = [];
propagatedBuildInputs = [ yojson ];
propagatedBuildInputs = [ yojson ocaml-migrate-parsetree ];
meta = {
description = "Compiler from OCaml bytecode to Javascript";
@@ -1,5 +1,5 @@
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
, js_of_ocaml, ppx_deriving
, js_of_ocaml, ppxlib
}:
stdenv.mkDerivation {
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
buildInputs = [ ocaml findlib dune ];
propagatedBuildInputs = [ js_of_ocaml ppx_deriving ];
propagatedBuildInputs = [ js_of_ocaml ppxlib ];
buildPhase = "dune build -p js_of_ocaml-ppx_deriving_json";
}