ocsigen-i18n: init at 3.1

This commit is contained in:
Florent Becker 2017-03-04 14:46:04 +01:00 committed by Vincent Laporte
parent 091073819a
commit e4d39749f2
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec
{
name = "ocsigen-i18n";
version = "3.1.0";
buildInputs = with ocamlPackages; [ ocaml findlib ];
installPhase = ''
mkdir -p $out/bin
make bindir=$out/bin install
'';
src = fetchurl {
url = "https://github.com/besport/${name}/archive/${version}.tar.gz";
sha256 = "0cw0mmr67wx03j4279z7ldxwb01smkqz9rbklx5lafrj5sf99178";
};
meta = {
homepage = https://github.com/besport/ocsigen-i18n;
description = "I18n made easy for web sites written with eliom";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.gal_bolle ];
};
}

View file

@ -5496,6 +5496,10 @@ with pkgs;
ocaml-top = callPackage ../development/tools/ocaml/ocaml-top { };
ocsigen-i18n = callPackage ../development/tools/ocaml/ocsigen-i18n {
ocamlPackages = ocamlPackages_4_03;
};
opa = callPackage ../development/compilers/opa {
nodejs = nodejs-4_x;
ocamlPackages = ocamlPackages_4_02;