ocamlPackages.ocsigen_toolkit: init at 1.0
This commit is contained in:
parent
9fd4966429
commit
bc26feb1d6
33
pkgs/development/ocaml-modules/ocsigen-toolkit/default.nix
Normal file
33
pkgs/development/ocaml-modules/ocsigen-toolkit/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -382,6 +382,8 @@ let
|
|||||||
|
|
||||||
ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };
|
ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };
|
||||||
|
|
||||||
|
ocsigen-toolkit = callPackage ../development/ocaml-modules/ocsigen-toolkit { };
|
||||||
|
|
||||||
ojquery = callPackage ../development/ocaml-modules/ojquery { };
|
ojquery = callPackage ../development/ocaml-modules/ojquery { };
|
||||||
|
|
||||||
omd = callPackage ../development/ocaml-modules/omd { };
|
omd = callPackage ../development/ocaml-modules/omd { };
|
||||||
|
Loading…
Reference in New Issue
Block a user