push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{
lib,
buildDunePackage,
ocaml_gettext,
camomile,
ounit2,
}:
buildDunePackage {
pname = "gettext-camomile";
inherit (ocaml_gettext) src version;
propagatedBuildInputs = [
camomile
ocaml_gettext
];
doCheck = true;
checkInputs = [ ounit2 ];
meta = (removeAttrs ocaml_gettext.meta [ "mainProgram" ]) // {
description = "Internationalization library using camomile (i18n)";
};
}

View File

@@ -0,0 +1,49 @@
{
lib,
fetchurl,
fetchpatch,
applyPatches,
buildDunePackage,
cppo,
gettext,
fileutils,
ounit2,
}:
buildDunePackage rec {
pname = "gettext";
version = "0.5.0";
src = applyPatches {
src = fetchurl {
url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-${version}.tbz";
hash = "sha256-CN2d9Vsq8YOOIxK+S+lCtDddvBjCrtDKGSRIh1DjT10=";
};
# Disable dune sites
# See https://github.com/gildor478/ocaml-gettext/pull/37
patches = fetchpatch {
url = "https://github.com/gildor478/ocaml-gettext/commit/5462396bee53cb13d8d6fde4c6d430412a17b64d.patch";
hash = "sha256-tOR+xgZTadvNeQpZnFTJEvZglK8P+ySvYnE3c1VWvKQ=";
};
};
nativeBuildInputs = [ cppo ];
propagatedBuildInputs = [
gettext
fileutils
];
# Tests of version 0.5.0 fail
doCheck = false;
checkInputs = [ ounit2 ];
meta = with lib; {
description = "OCaml Bindings to gettext";
homepage = "https://github.com/gildor478/ocaml-gettext";
license = licenses.lgpl21;
maintainers = [ ];
mainProgram = "ocaml-gettext";
};
}

View File

@@ -0,0 +1,22 @@
{
lib,
buildDunePackage,
ocaml_gettext,
dune-configurator,
ounit2,
}:
buildDunePackage {
pname = "gettext-stub";
inherit (ocaml_gettext) src version;
minimalOCamlVersion = "4.14";
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ ocaml_gettext ];
doCheck = true;
checkInputs = [ ounit2 ];
meta = removeAttrs ocaml_gettext.meta [ "mainProgram" ];
}