75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
29 lines
684 B
Nix
29 lines
684 B
Nix
{ lib, stdenv, fetchzip, ocamlPackages }:
|
|
|
|
stdenv.mkDerivation rec
|
|
{
|
|
pname = "ocsigen-i18n";
|
|
version = "3.7.0";
|
|
|
|
buildInputs = with ocamlPackages; [ ocaml findlib ppx_tools ];
|
|
|
|
dontStrip = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
make bindir=$out/bin install
|
|
'';
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/besport/${pname}/archive/${version}.tar.gz";
|
|
sha256 = "sha256-PmdDyn+MUcNFrZpP/KLGQzdXUFRr+dYRAZjTZxHSeaw=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/besport/ocsigen-i18n";
|
|
description = "I18n made easy for web sites written with eliom";
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = [ lib.maintainers.gal_bolle ];
|
|
};
|
|
|
|
}
|