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