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
24 lines
577 B
Nix
24 lines
577 B
Nix
{ fetchurl, libiconv }:
|
|
|
|
finalAttrs: {
|
|
version = "0.996";
|
|
|
|
src = fetchurl {
|
|
url = "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE";
|
|
name = "mecab-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-4HMyV4MTW3LmZhRceBu0j62lg9UiT7JJD7bBQDumnFk=";
|
|
};
|
|
|
|
buildInputs = [ libiconv ];
|
|
|
|
configureFlags = [
|
|
"--with-charset=utf8"
|
|
];
|
|
|
|
# mecab uses several features that have been removed in C++17.
|
|
# Force the language mode to C++14, so that it can compile with clang 16.
|
|
makeFlags = [ "CXXFLAGS=-std=c++14" ];
|
|
|
|
doCheck = true;
|
|
}
|