Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / mecab-python3 / default.nix
blobe3abdaa70916f566b23bbd4bda9ea3d45e98414b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , mecab
5 , swig
6 , setuptools_scm
7 }:
9 buildPythonPackage rec {
10   pname = "mecab-python3";
11   version = "1.0.3";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "62abe28a1155398325372291483608427bc82681fef80e7d132904415f9fd42e";
16   };
18   nativeBuildInputs = [
19     mecab # for mecab-config
20     swig
21     setuptools_scm
22   ];
24   buildInputs = [ mecab ];
26   doCheck = false;
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   };