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
60 lines
1.4 KiB
Nix
60 lines
1.4 KiB
Nix
{
|
|
cmake,
|
|
fetchFromGitLab,
|
|
lib,
|
|
stdenv,
|
|
|
|
# tests
|
|
testers,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "bc-ispell";
|
|
# version retrieved from `CHANGES`
|
|
version = "3.4.02-unstable-2025-05-05";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.linphone.org";
|
|
group = "BC";
|
|
owner = "public/external";
|
|
repo = "ispell";
|
|
rev = "05574fe160222c3d0b6283c1433c9b087271fad1";
|
|
sha256 = "sha256-YoRLiMjk2BxoI27xc2nzucxfHV9UbouFRSECb3RdHGo=";
|
|
};
|
|
|
|
patches = [
|
|
# linphone has custom find modules that look for this package,
|
|
# but they do not work in nix, so we need to patch this library to
|
|
# install regular cmake config files
|
|
./install-config-files.patch
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DENABLE_STATIC=NO"
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
passthru.tests = {
|
|
cmake-config = testers.hasCmakeConfigModules {
|
|
package = finalAttrs.finalPackage;
|
|
moduleNames = [
|
|
"ISpell"
|
|
];
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
description = "Interactive spelling checker";
|
|
homepage = "https://gitlab.linphone.org/BC/public/external/ispell";
|
|
platforms = lib.platforms.all;
|
|
# NOTE: ISpell itself does not explicitly provide a license. From its
|
|
# 'Contributors' file, it can be deduced that it is distributed under
|
|
# "some" open source license, but the details are not clear.
|
|
license = lib.licenses.free;
|
|
maintainers = with lib.maintainers; [
|
|
naxdy
|
|
];
|
|
};
|
|
})
|