aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix
blob: b12aa2e6d6deb37073792c7205dc1dd07882f191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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 ];
  };

}