2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, mecab-nodic }:
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "mecab-ipadic";
|
|
|
|
version = "2.7.0-20070801";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM";
|
2023-10-09 19:29:22 +00:00
|
|
|
name = "mecab-ipadic-${finalAttrs.version}.tar.gz";
|
|
|
|
hash = "sha256-ti9SfYgcUEV2uu2cbvZWFVRlixdc5q4AlqYDB+SeNSM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mecab-nodic ];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-charset=utf8"
|
|
|
|
"--with-dicdir=${placeholder "out"}"
|
|
|
|
];
|
|
|
|
})
|