blob: 4a6f6b0c4dd1f1cd93971566ebaa2172c2cb4af2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib
, buildPythonPackage
, fetchPypi
, mecab
, swig
}:
buildPythonPackage rec {
pname = "mecab-python3";
version = "0.996.2";
src = fetchPypi {
inherit pname version;
sha256 = "a80383fba343dad247b486a9afa486b7f0ec6244cb8bbf2d6a24d2fab5f19180";
};
nativeBuildInputs = [
mecab # for mecab-config
swig
];
buildInputs = [ mecab ];
meta = with lib; {
description = "A python wrapper for mecab: Morphological Analysis engine";
homepage = https://github.com/SamuraiT/mecab-python3;
license = with licenses; [ gpl2 lgpl21 bsd3 ]; # any of the three
maintainers = with maintainers; [ ixxie ];
};
}
|