2020-06-26 08:14:55 +01:00
|
|
|
{ lib, fetchurl, buildDunePackage, cppo, gettext, fileutils, ounit }:
|
2017-02-04 15:07:45 +00:00
|
|
|
|
2020-04-06 12:44:48 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "gettext";
|
2020-06-26 08:14:55 +01:00
|
|
|
version = "0.4.2";
|
2020-04-06 12:44:48 +01:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
2017-02-04 15:07:45 +00:00
|
|
|
|
2021-02-16 07:46:31 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2017-02-04 15:07:45 +00:00
|
|
|
src = fetchurl {
|
2020-04-06 12:44:48 +01:00
|
|
|
url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz";
|
2020-06-26 08:14:55 +01:00
|
|
|
sha256 = "19ynsldb21r539fiwz1f43apsdnx7hj2a2d9qr9wg2hva9y2qrwb";
|
2017-02-04 15:07:45 +00:00
|
|
|
};
|
|
|
|
|
2020-06-26 08:14:55 +01:00
|
|
|
buildInputs = [ cppo ];
|
|
|
|
|
2020-04-06 12:44:48 +01:00
|
|
|
propagatedBuildInputs = [ gettext fileutils ];
|
2017-02-04 15:07:45 +00:00
|
|
|
|
2020-04-06 12:44:48 +01:00
|
|
|
doCheck = true;
|
2017-02-04 15:07:45 +00:00
|
|
|
|
2020-06-26 08:14:55 +01:00
|
|
|
checkInputs = [ ounit ];
|
2017-02-04 15:07:45 +00:00
|
|
|
|
2017-10-12 06:35:26 +01:00
|
|
|
dontStrip = true;
|
|
|
|
|
2020-04-06 12:44:48 +01:00
|
|
|
meta = with lib; {
|
2017-02-04 15:07:45 +00:00
|
|
|
description = "OCaml Bindings to gettext";
|
2020-04-06 12:44:48 +01:00
|
|
|
homepage = "https://github.com/gildor478/ocaml-gettext";
|
|
|
|
license = licenses.lgpl21;
|
2017-02-04 15:07:45 +00:00
|
|
|
maintainers = [ maintainers.volth ];
|
|
|
|
};
|
|
|
|
}
|