1 { stdenv, lib, fetchFromGitHub, fetchpatch, ocaml, findlib, ocsigen-toolkit, pgocaml_ppx, safepass, yojson
2 , cohttp-lwt-unix, eliom
7 stdenv.mkDerivation rec {
8 pname = "ocaml${ocaml.version}-ocsigen-start";
11 nativeBuildInputs = [ ocaml findlib eliom ];
12 buildInputs = [ ocsigen-ppx-rpc ];
13 propagatedBuildInputs = [ pgocaml_ppx safepass ocsigen-toolkit yojson resource-pooling cohttp-lwt-unix ];
17 patches = [ ./templates-dir.patch
18 # Compatibility with tyxml 4.6.x
20 url = "https://github.com/ocsigen/ocsigen-start/commit/0b70506f94fcb2e06cb65ce0d6a28b9b84c695f3.patch";
21 hash = "sha256-p/VvIu9reI8lc9lxWiTrjZvn46vuF00QInYuWPtRVyk=";
25 src = fetchFromGitHub {
27 repo = "ocsigen-start";
29 hash = "sha256-i2nj/m1Ihb/bprtHvZh47/oK0v+aFNVH+A2CB4rrrPk=";
33 mkdir -p $OCAMLFIND_DESTDIR
37 homepage = "http://ocsigen.org/ocsigen-start";
38 description = "Eliom application skeleton";
40 An Eliom application skeleton, ready to use to build your own application with users, (pre)registration, notifications, etc.
42 license = lib.licenses.lgpl21Only;
43 inherit (ocaml.meta) platforms;
44 maintainers = [ lib.maintainers.gal_bolle ];