1 { stdenv, lib, fetchFromGitHub, ocaml, findlib, ocsigen-toolkit, pgocaml_ppx, safepass, yojson
2 , cohttp-lwt-unix, eliom
8 stdenv.mkDerivation rec {
9 pname = "ocaml${ocaml.version}-ocsigen-start";
12 nativeBuildInputs = [ ocaml findlib eliom ];
13 buildInputs = [ ocsigen-ppx-rpc ];
14 propagatedBuildInputs = [ pgocaml_ppx safepass ocsigen-toolkit yojson resource-pooling cohttp-lwt-unix ocamlnet ];
18 patches = [ ./templates-dir.patch ];
20 src = fetchFromGitHub {
22 repo = "ocsigen-start";
24 hash = "sha256-gHFPutoPYKTDsFninwBTc2WOIFd3+ghRYW2hi1y5MUs=";
28 mkdir -p $OCAMLFIND_DESTDIR
32 homepage = "http://ocsigen.org/ocsigen-start";
33 description = "Eliom application skeleton";
35 An Eliom application skeleton, ready to use to build your own application with users, (pre)registration, notifications, etc.
37 license = lib.licenses.lgpl21Only;
38 inherit (ocaml.meta) platforms;
39 maintainers = [ lib.maintainers.gal_bolle ];