3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix

30 lines
694 B
Nix
Raw Normal View History

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 ];
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 = {
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 ];
};
}