1 { stdenv, lib, fetchFromGitHub, ocaml, findlib, opaline
2 , calendar, eliom, js_of_ocaml-ppx_deriving_json
5 stdenv.mkDerivation rec {
6 pname = "ocsigen-toolkit";
7 name = "ocaml${ocaml.version}-${pname}-${version}";
10 propagatedBuildInputs = [ calendar js_of_ocaml-ppx_deriving_json eliom ];
11 nativeBuildInputs = [ ocaml findlib opaline eliom ];
17 mkdir -p $OCAMLFIND_DESTDIR
18 export OCAMLPATH=$out/lib/ocaml/${ocaml.version}/site-lib/:$OCAMLPATH
24 src = fetchFromGitHub {
28 hash = "sha256-6ccu8WJxUwpR5YyB4j1jQPWba8GhQDxuw+IDHswQpSA=";
32 homepage = "http://ocsigen.org/ocsigen-toolkit/";
33 description = " User interface widgets for Ocsigen applications";
34 license = lib.licenses.lgpl21;
35 maintainers = [ lib.maintainers.gal_bolle ];
36 inherit (ocaml.meta) platforms;