Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 32 lines 815 B view raw
1{ lib, fetchurl, buildDunePackage, cppo, gettext, fileutils, ounit }: 2 3buildDunePackage rec { 4 pname = "gettext"; 5 version = "0.4.2"; 6 7 minimalOCamlVersion = "4.03"; 8 9 src = fetchurl { 10 url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz"; 11 sha256 = "19ynsldb21r539fiwz1f43apsdnx7hj2a2d9qr9wg2hva9y2qrwb"; 12 }; 13 14 nativeBuildInputs = [ cppo ]; 15 16 propagatedBuildInputs = [ gettext fileutils ]; 17 18 # Tests for version 0.4.2 are not compatible with OUnit 2.2.6 19 doCheck = false; 20 21 checkInputs = [ ounit ]; 22 23 dontStrip = true; 24 25 meta = with lib; { 26 description = "OCaml Bindings to gettext"; 27 homepage = "https://github.com/gildor478/ocaml-gettext"; 28 license = licenses.lgpl21; 29 maintainers = [ ]; 30 mainProgram = "ocaml-gettext"; 31 }; 32}