summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocaml-gettext/default.nix
blob: 547fa77ae6e9a9a2747847791c7f4f1575e052e9 (plain) (blame)
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
{ lib, fetchurl, buildDunePackage, gettext, fileutils, ounit }:

buildDunePackage rec {
  pname = "gettext";
  version = "0.4.1";

  minimumOCamlVersion = "4.03";

  src = fetchurl {
    url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz";
    sha256 = "0pwy6ym5fd77mdbgyas8x86vbrri9cgk79g8wxdjplhyi7zhh158";
  };

  propagatedBuildInputs = [ gettext fileutils ];

  doCheck = true;

  checkInputs = lib.optional doCheck ounit;

  dontStrip = true;

  meta = with lib; {
    description = "OCaml Bindings to gettext";
    homepage = "https://github.com/gildor478/ocaml-gettext";
    license = licenses.lgpl21;
    maintainers = [ maintainers.volth ];
  };
}