mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
29 lines
711 B
Nix
29 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 ];
|
|
};
|
|
}
|