2018-05-29 06:15:32 +01:00
|
|
|
{ stdenv, fetchurl, buildOcaml, ocaml, opaline
|
2018-04-01 07:54:23 +01:00
|
|
|
, calendar, eliom, js_of_ocaml-ppx_deriving_json
|
|
|
|
}:
|
2017-03-04 13:32:19 +00:00
|
|
|
|
|
|
|
buildOcaml rec
|
|
|
|
{
|
|
|
|
name = "ocsigen-toolkit";
|
2018-04-01 07:54:23 +01:00
|
|
|
version = "1.1.0";
|
2017-03-04 13:32:19 +00:00
|
|
|
|
2018-04-01 07:54:23 +01:00
|
|
|
propagatedBuildInputs = [ calendar eliom js_of_ocaml-ppx_deriving_json ];
|
2018-05-29 06:15:32 +01:00
|
|
|
buildInputs = [ opaline ];
|
2017-03-04 13:32:19 +00:00
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
export OCAMLPATH=$out/lib/ocaml/${ocaml.version}/site-lib/:$OCAMLPATH
|
|
|
|
make install
|
2018-05-29 06:15:32 +01:00
|
|
|
opaline -prefix $out
|
2017-03-04 13:32:19 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-04-01 07:54:23 +01:00
|
|
|
sha256 = "1i5806gaqqllgsgjz3lf9fwlffqg3vfl49msmhy7xvq2sncbxp8a";
|
2017-03-04 13:32:19 +00:00
|
|
|
url = "https://github.com/ocsigen/${name}/archive/${version}.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://ocsigen.org/ocsigen-toolkit/;
|
|
|
|
description = " User interface widgets for Ocsigen applications";
|
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.gal_bolle ];
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|