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