ocamlPackages.js_of_ocaml: 3.5.2 → 3.6.0
This commit is contained in:
parent
d34bde6ac7
commit
5ac8870024
@ -3,6 +3,7 @@
|
||||
buildDunePackage {
|
||||
pname = "ocplib-json-typed-browser";
|
||||
inherit (ocplib-json-typed) version src;
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [ ocplib-json-typed js_of_ocaml ];
|
||||
|
||||
|
@ -1,19 +1,18 @@
|
||||
{ lib, fetchFromGitHub, buildDunePackage
|
||||
, ocaml, findlib, cmdliner, dune, cppo, yojson, ocaml-migrate-parsetree
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
, ocaml, findlib, cmdliner, dune_2, cppo, yojson, ocaml-migrate-parsetree
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "js_of_ocaml-compiler";
|
||||
version = "3.5.2";
|
||||
version = "3.6.0";
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocsigen";
|
||||
repo = "js_of_ocaml";
|
||||
rev = version;
|
||||
sha256 = "1fm855iavljx7rf9hii2qb7ky920zv082d9zlcl504by1bxp1yg8";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
|
||||
sha256 = "51eaa89c83ef3168ef270bf7997cbc35a747936d3f51aa6fac58fb0323b4cbb0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib dune cppo ];
|
||||
nativeBuildInputs = [ ocaml findlib dune_2 cppo ];
|
||||
buildInputs = [ cmdliner ];
|
||||
|
||||
configurePlatforms = [];
|
||||
@ -23,6 +22,6 @@ buildDunePackage rec {
|
||||
description = "Compiler from OCaml bytecode to Javascript";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
homepage = "https://ocsigen.org/js_of_ocaml/";
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
|
||||
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler
|
||||
, ocaml-migrate-parsetree, ppx_tools_versioned, uchar
|
||||
}:
|
||||
|
||||
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
inherit (js_of_ocaml-compiler) version src installPhase meta;
|
||||
|
||||
buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
nativeBuildInputs = [ ocaml findlib dune ];
|
||||
nativeBuildInputs = [ ocaml findlib dune_2 ];
|
||||
|
||||
postPatch = "patchShebangs lib/generate_stubs.sh";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler, js_of_ocaml-ppx
|
||||
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler, js_of_ocaml-ppx
|
||||
, ocaml-migrate-parsetree, ppx_tools_versioned
|
||||
, js_of_ocaml, ocaml_lwt, lwt_log
|
||||
}:
|
||||
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src installPhase meta;
|
||||
|
||||
buildInputs = [ ocaml findlib dune js_of_ocaml-ppx ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
buildInputs = [ ocaml findlib dune_2 js_of_ocaml-ppx ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml ocaml_lwt lwt_log ];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
|
||||
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler
|
||||
, ocamlbuild
|
||||
}:
|
||||
|
||||
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src installPhase meta;
|
||||
|
||||
buildInputs = [ ocaml findlib dune ];
|
||||
buildInputs = [ ocaml findlib dune_2 ];
|
||||
|
||||
propagatedBuildInputs = [ ocamlbuild ];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
|
||||
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler
|
||||
, ocaml-migrate-parsetree, ppx_tools_versioned
|
||||
, js_of_ocaml
|
||||
}:
|
||||
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src installPhase meta;
|
||||
|
||||
buildInputs = [ ocaml findlib dune ocaml-migrate-parsetree ppx_tools_versioned js_of_ocaml ];
|
||||
buildInputs = [ ocaml findlib dune_2 ocaml-migrate-parsetree ppx_tools_versioned js_of_ocaml ];
|
||||
|
||||
buildPhase = "dune build -p js_of_ocaml-ppx";
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
|
||||
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler
|
||||
, js_of_ocaml, ppxlib
|
||||
}:
|
||||
|
||||
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src installPhase meta;
|
||||
|
||||
buildInputs = [ ocaml findlib dune ];
|
||||
buildInputs = [ ocaml findlib dune_2 ];
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml ppxlib ];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
|
||||
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler
|
||||
, js_of_ocaml-ppx, ocaml-migrate-parsetree, ppx_tools_versioned
|
||||
, js_of_ocaml, reactivedata, tyxml
|
||||
}:
|
||||
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src installPhase meta;
|
||||
|
||||
buildInputs = [ ocaml findlib dune js_of_ocaml-ppx ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
buildInputs = [ ocaml findlib dune_2 js_of_ocaml-ppx ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml reactivedata tyxml ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user