nixpkgs/pkgs/development/ocaml-modules/ocaml-gettext/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
815 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";
minimalOCamlVersion = "4.03";
2021-02-16 07:46:31 +00:00
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
};
nativeBuildInputs = [ cppo ];
propagatedBuildInputs = [ gettext fileutils ];
2017-02-04 15:07:45 +00:00
# Tests for version 0.4.2 are not compatible with OUnit 2.2.6
doCheck = false;
2017-02-04 15:07:45 +00:00
checkInputs = [ 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;
maintainers = [ ];
mainProgram = "ocaml-gettext";
2017-02-04 15:07:45 +00:00
};
}