fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchurl,
5 mecab-ipadic,
6 libiconv,
7}:
8
9let
10 mecab-base = import ./base.nix { inherit fetchurl libiconv; };
11in
12stdenv.mkDerivation (
13 finalAttrs:
14 (
15 (mecab-base finalAttrs)
16 // {
17 pname = "mecab";
18
19 postInstall = ''
20 mkdir -p $out/lib/mecab/dic
21 ln -s ${mecab-ipadic} $out/lib/mecab/dic/ipadic
22 '';
23
24 meta = with lib; {
25 description = "Japanese morphological analysis system";
26 homepage = "http://taku910.github.io/mecab";
27 license = licenses.bsd3;
28 platforms = platforms.unix;
29 mainProgram = "mecab";
30 maintainers = with maintainers; [ auntie ];
31 };
32 }
33 )
34)