ocamlPackages.eliom: 6.7.0 → 6.8.0

Ensures compatibility with OCaml 4.08
This commit is contained in:
Vincent Laporte
2019-10-20 06:44:41 +00:00
committed by Vincent Laporte
parent dc2f24796e
commit be3f40bb99
3 changed files with 12 additions and 22 deletions
@@ -1,33 +1,35 @@
{ stdenv, fetchzip, which, ocsigen_server, ocsigen_deriving, ocaml, lwt_camlp4,
{ stdenv, fetchzip, which, ocsigen_server, ocaml,
lwt_react,
opaline, ppx_tools, ppx_deriving, findlib
, ppx_tools_versioned
, js_of_ocaml-ocamlbuild, js_of_ocaml-ppx, js_of_ocaml-ppx_deriving_json
, js_of_ocaml-lwt
, js_of_ocaml-tyxml
, lwt_ppx
}:
if !stdenv.lib.versionAtLeast ocaml.version "4.07"
then throw "eliom is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec
{
pname = "eliom";
version = "6.7.0";
version = "6.8.0";
src = fetchzip {
url = "https://github.com/ocsigen/eliom/archive/${version}.tar.gz";
sha256 = "0mrlpvjaihpsf2xr6p1gs0sz4cwzkknf5b1s32bhmqq5qzsh4j8k";
sha256 = "0di4q0wzbnk9sxlaj97ivghzh8qvjb8n17h80y4nmqhys97pldif";
};
patches = [ ./camlp4.patch ];
buildInputs = [ ocaml which findlib js_of_ocaml-ocamlbuild js_of_ocaml-ppx_deriving_json opaline ppx_tools
ocsigen_deriving
ppx_tools_versioned
];
propagatedBuildInputs = [
js_of_ocaml-lwt
js_of_ocaml-ppx
js_of_ocaml-tyxml
lwt_camlp4
lwt_ppx
lwt_react
ocsigen_server
@@ -40,7 +42,7 @@ stdenv.mkDerivation rec
meta = {
homepage = http://ocsigen.org/eliom/;
description = "Ocaml Framework for programming Web sites and client/server Web applications";
description = "OCaml Framework for programming Web sites and client/server Web applications";
longDescription =''Eliom is a framework for programming Web sites
and client/server Web applications. It introduces new concepts to