mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
725d62079c
#257480 added utf8 support but mecab depends on libiconv to convert between charsets. Thus, on MacOS it doesn't works
20 lines
394 B
Nix
20 lines
394 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"
|
|
];
|
|
|
|
doCheck = true;
|
|
}
|