1 { lib, stdenv, fetchurl, mecab-ipadic, libiconv }:
4 mecab-base = import ./base.nix { inherit fetchurl libiconv; };
6 stdenv.mkDerivation (finalAttrs: ((mecab-base finalAttrs) // {
10 mkdir -p $out/lib/mecab/dic
11 ln -s ${mecab-ipadic} $out/lib/mecab/dic/ipadic
15 description = "Japanese morphological analysis system";
16 homepage = "http://taku910.github.io/mecab";
17 license = licenses.bsd3;
18 platforms = platforms.unix;
19 mainProgram = "mecab";
20 maintainers = with maintainers; [ auntie ];