2021-01-23 12:26:19 +00:00
|
|
|
{ lib, 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";
|
2021-01-20 09:53:11 +00:00
|
|
|
version = "3.7.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";
|
2021-01-20 09:53:11 +00:00
|
|
|
sha256 = "sha256-PmdDyn+MUcNFrZpP/KLGQzdXUFRr+dYRAZjTZxHSeaw=";
|
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";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.gal_bolle ];
|
2017-03-04 13:46:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|