depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ocaml-gettext/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
711 B
Nix

{ 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 ];
};
}