ocamlPackages.eliom: 8.9.0 → 9.4.0

This commit is contained in:
Vincent Laporte 2022-03-30 06:52:50 +02:00 committed by Vincent Laporte
parent 994b21d1c1
commit 684ae27163

View file

@ -16,17 +16,18 @@
, js_of_ocaml-tyxml , js_of_ocaml-tyxml
, lwt_ppx , lwt_ppx
, ocamlnet , ocamlnet
, ocsipersist
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "eliom"; pname = "eliom";
version = "8.9.0"; version = "9.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ocsigen"; owner = "ocsigen";
repo = "eliom"; repo = "eliom";
rev = version; rev = version;
sha256 = "sha256-VNxzpVpXEGlixyjadbW0GjL83jcKV5TWd46UReNYO6w="; sha256 = "sha256:1yn8mqxv9yz51x81j8wv1jn7l7crm8azp1m2g4zn5nz2s4nmfv6q";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -49,12 +50,17 @@ stdenv.mkDerivation rec {
lwt_ppx lwt_ppx
lwt_react lwt_react
ocsigen_server ocsigen_server
ocsipersist
ppx_deriving ppx_deriving
]; ];
strictDeps = true; strictDeps = true;
installPhase = "opaline -prefix $out -libdir $OCAMLFIND_DESTDIR"; installPhase = ''
runHook preInstall
opaline -prefix $out -libdir $OCAMLFIND_DESTDIR
runHook postInstall
'';
setupHook = [ ./setup-hook.sh ]; setupHook = [ ./setup-hook.sh ];