3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/ocaml-gettext/default.nix

31 lines
727 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, cppo, gettext, fileutils, ounit }:
2017-02-04 15:07:45 +00:00
buildDunePackage rec {
pname = "gettext";
version = "0.4.2";
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 = "19ynsldb21r539fiwz1f43apsdnx7hj2a2d9qr9wg2hva9y2qrwb";
2017-02-04 15:07:45 +00:00
};
buildInputs = [ cppo ];
propagatedBuildInputs = [ gettext fileutils ];
2017-02-04 15:07:45 +00:00
doCheck = true;
2017-02-04 15:07:45 +00:00
checkInputs = [ ounit ];
2017-02-04 15:07:45 +00:00
2017-10-12 06:35:26 +01: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 ];
};
}