ocamlPackages.ocsigen_toolkit: init at 1.0

This commit is contained in:
Florent Becker 2017-03-04 14:32:19 +01:00 committed by Vincent Laporte
parent 9fd4966429
commit bc26feb1d6
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchurl, buildOcaml, ocaml, eliom, opam }:
buildOcaml rec
{
name = "ocsigen-toolkit";
version = "1.0.0";
propagatedBuildInputs = [ eliom ];
buildInputs = [ opam ];
createFindlibDestdir = true;
installPhase =
''
export OCAMLPATH=$out/lib/ocaml/${ocaml.version}/site-lib/:$OCAMLPATH
make install
opam-installer --prefix=$out
'';
src = fetchurl {
sha256 = "0wm4fnss7vlkd03ybgfrk63kpip6m6p6kdqjn3f64n11256mwzj2";
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 ];
};
}

View File

@ -382,6 +382,8 @@ let
ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };
ocsigen-toolkit = callPackage ../development/ocaml-modules/ocsigen-toolkit { };
ojquery = callPackage ../development/ocaml-modules/ojquery { };
omd = callPackage ../development/ocaml-modules/omd { };