1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix
2021-01-23 20:30:03 +07:00

30 lines
685 B
Nix

{ lib, stdenv, fetchzip, ocamlPackages }:
stdenv.mkDerivation rec
{
pname = "ocsigen-i18n";
version = "3.5.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 = "1qsgwfl64b53w235wm7nnchqinzgsvd2gb52xm0kra2wlwp69rfq";
};
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 ];
};
}