Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
ocaml,
|
|
findlib,
|
|
ocsigen-toolkit,
|
|
pgocaml_ppx,
|
|
safepass,
|
|
yojson,
|
|
cohttp-lwt-unix,
|
|
eliom,
|
|
resource-pooling,
|
|
ocsigen-ppx-rpc,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml${ocaml.version}-ocsigen-start";
|
|
version = "7.1.0";
|
|
|
|
nativeBuildInputs = [
|
|
ocaml
|
|
findlib
|
|
eliom
|
|
];
|
|
buildInputs = [ ocsigen-ppx-rpc ];
|
|
propagatedBuildInputs = [
|
|
pgocaml_ppx
|
|
safepass
|
|
ocsigen-toolkit
|
|
yojson
|
|
resource-pooling
|
|
cohttp-lwt-unix
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
patches = [
|
|
./templates-dir.patch
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocsigen";
|
|
repo = "ocsigen-start";
|
|
rev = version;
|
|
hash = "sha256-2DFFceUI7BYgGKvJ1sZphLWt/Rusa5Y86yc94Mi/quo=";
|
|
};
|
|
|
|
preInstall = ''
|
|
mkdir -p $OCAMLFIND_DESTDIR
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://ocsigen.org/ocsigen-start";
|
|
description = "Eliom application skeleton";
|
|
longDescription = ''
|
|
An Eliom application skeleton, ready to use to build your own application with users, (pre)registration, notifications, etc.
|
|
'';
|
|
license = lib.licenses.lgpl21Only;
|
|
inherit (ocaml.meta) platforms;
|
|
maintainers = [ lib.maintainers.gal_bolle ];
|
|
};
|
|
|
|
}
|