2020-03-07 09:21:37 +00:00
|
|
|
{ stdenv, fetchzip, ocamlPackages }:
|
2017-03-04 13:46:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec
|
|
|
|
{
|
2018-05-28 13:59:57 +01:00
|
|
|
pname = "ocsigen-i18n";
|
2020-03-07 09:21:37 +00:00
|
|
|
version = "3.5.0";
|
2017-03-04 13:46:04 +00:00
|
|
|
|
2020-03-07 09:21:37 +00:00
|
|
|
buildInputs = with ocamlPackages; [ ocaml findlib ppx_tools ];
|
2017-12-21 17:23:25 +00:00
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
2017-03-04 13:46:04 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
make bindir=$out/bin install
|
|
|
|
'';
|
|
|
|
|
2020-03-07 09:21:37 +00:00
|
|
|
src = fetchzip {
|
2018-05-28 13:59:57 +01:00
|
|
|
url = "https://github.com/besport/${pname}/archive/${version}.tar.gz";
|
2020-03-07 09:21:37 +00:00
|
|
|
sha256 = "1qsgwfl64b53w235wm7nnchqinzgsvd2gb52xm0kra2wlwp69rfq";
|
2017-03-04 13:46:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/besport/ocsigen-i18n";
|
2017-03-04 13:46:04 +00:00
|
|
|
description = "I18n made easy for web sites written with eliom";
|
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.gal_bolle ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|