2017-03-04 13:46:04 +00:00
|
|
|
{ stdenv, fetchurl, ocamlPackages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec
|
|
|
|
{
|
2018-05-28 13:59:57 +01:00
|
|
|
pname = "ocsigen-i18n";
|
2019-05-22 09:05:27 +01:00
|
|
|
version = "3.4.0";
|
2017-03-04 13:46:04 +00:00
|
|
|
|
|
|
|
buildInputs = with ocamlPackages; [ ocaml findlib ];
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-05-28 13:59:57 +01:00
|
|
|
url = "https://github.com/besport/${pname}/archive/${version}.tar.gz";
|
2019-05-22 09:05:27 +01:00
|
|
|
sha256 = "0i7cck6zlgwjpksb4s1jpy193h85jixf4d0nmqj09y3zcpn2i8gb";
|
2017-03-04 13:46:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|