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:
co-authored by
Vincent Laporte
parent
e8243467b9
commit
2d2a5a9b63
@@ -1,7 +1,6 @@
|
||||
{ stdenv, fetchzip, which, ocsigen_server, ocaml,
|
||||
lwt_react,
|
||||
opaline, ppx_tools, ppx_deriving, findlib
|
||||
, ppx_tools_versioned
|
||||
opaline, ppx_deriving, findlib
|
||||
, js_of_ocaml-ocamlbuild, js_of_ocaml-ppx, js_of_ocaml-ppx_deriving_json
|
||||
, js_of_ocaml-lwt
|
||||
, js_of_ocaml-tyxml
|
||||
@@ -15,15 +14,14 @@ else
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
pname = "eliom";
|
||||
version = "6.8.0";
|
||||
version = "6.10.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ocsigen/eliom/archive/${version}.tar.gz";
|
||||
sha256 = "0di4q0wzbnk9sxlaj97ivghzh8qvjb8n17h80y4nmqhys97pldif";
|
||||
sha256 = "006722wcmhsfhyzv3qbgrrn53fbv9v4i31z52a0pznb6cll45nkm";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml which findlib js_of_ocaml-ocamlbuild js_of_ocaml-ppx_deriving_json opaline ppx_tools
|
||||
ppx_tools_versioned
|
||||
buildInputs = [ ocaml which findlib js_of_ocaml-ocamlbuild js_of_ocaml-ppx_deriving_json opaline
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, camlp4, ocsigen-toolkit, pgocaml, macaque, safepass, yojson
|
||||
, js_of_ocaml-camlp4, lwt_camlp4
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, ocsigen-toolkit, pgocaml_ppx, macaque, safepass, yojson
|
||||
, cohttp-lwt-unix
|
||||
, resource-pooling
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-ocsigen-start-${version}";
|
||||
version = "2.7.0";
|
||||
version = "2.16.1";
|
||||
|
||||
buildInputs = [ ocaml findlib js_of_ocaml-camlp4 lwt_camlp4 ];
|
||||
propagatedBuildInputs = [ pgocaml macaque safepass ocsigen-toolkit yojson resource-pooling cohttp-lwt-unix camlp4 ];
|
||||
buildInputs = [ ocaml findlib ];
|
||||
propagatedBuildInputs = [ pgocaml_ppx safepass ocsigen-toolkit yojson resource-pooling cohttp-lwt-unix ];
|
||||
|
||||
patches = [ ./templates-dir.patch ];
|
||||
|
||||
@@ -23,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "ocsigen";
|
||||
repo = "ocsigen-start";
|
||||
rev = version;
|
||||
sha256 = "1kp9g679xnff2ybwsicnc9c203hi9ri1ijbpp6221b2sj6zxf2wc";
|
||||
sha256 = "1pzpyrd3vbhc7zvzh6bv44793ikx5bglpd5p4wk5jj65v1w39jwd";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocsigen-toolkit";
|
||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||
version = "2.2.0";
|
||||
version = "2.5.0";
|
||||
|
||||
propagatedBuildInputs = [ calendar eliom js_of_ocaml-ppx_deriving_json ];
|
||||
propagatedBuildInputs = [ calendar js_of_ocaml-ppx_deriving_json eliom ];
|
||||
buildInputs = [ ocaml findlib opaline ];
|
||||
|
||||
installPhase =
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "ocsigen";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0qy6501jf81qcmkbicgrb1x4pxsjkhr40plwdn09w37d8vx9va3s";
|
||||
sha256 = "0hll8qr363pbb65jnr2w36zcbplbwn08xb7826ayiwigakj783p9";
|
||||
};
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
@@ -1,16 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, buildDunePackage
|
||||
, version ? "0.8.1"
|
||||
, ocaml-compiler-libs, ocaml-migrate-parsetree, ppx_derivers, stdio
|
||||
}:
|
||||
|
||||
let sha256 =
|
||||
{ "0.8.1" = "0vm0jajmg8135scbg0x60ivyy5gzv4abwnl7zls2mrw23ac6kml6";
|
||||
"0.12.0" = "1cg0is23c05k1rc94zcdz452p9zn11dpqxm1pnifwx5iygz3w0a1";
|
||||
}."${version}"
|
||||
; in
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppxlib";
|
||||
version = "0.8.1";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-ppx";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0vm0jajmg8135scbg0x60ivyy5gzv4abwnl7zls2mrw23ac6kml6";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user