29 lines
711 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, gettext, fileutils, ounit }:
2017-02-04 15:07:45 +00:00
buildDunePackage rec {
pname = "gettext";
version = "0.4.1";
minimumOCamlVersion = "4.03";
2017-02-04 15:07:45 +00:00
src = fetchurl {
url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz";
sha256 = "0pwy6ym5fd77mdbgyas8x86vbrri9cgk79g8wxdjplhyi7zhh158";
2017-02-04 15:07:45 +00:00
};
propagatedBuildInputs = [ gettext fileutils ];
2017-02-04 15:07:45 +00:00
doCheck = true;
2017-02-04 15:07:45 +00:00
checkInputs = lib.optional doCheck ounit;
2017-02-04 15:07:45 +00:00
2017-10-12 05:35:26 +00:00
dontStrip = true;
meta = with lib; {
2017-02-04 15:07:45 +00:00
description = "OCaml Bindings to gettext";
homepage = "https://github.com/gildor478/ocaml-gettext";
license = licenses.lgpl21;
2017-02-04 15:07:45 +00:00
maintainers = [ maintainers.volth ];
};
}