{ lib , buildPythonPackage , fetchPypi , mecab , swig , setuptools-scm }: buildPythonPackage rec { pname = "mecab-python3"; version = "1.0.5"; src = fetchPypi { inherit pname version; sha256 = "sha256-5wPXjIimcau4FwNRZEhQAV2bv6sxUwo7QNEkgaZ3mhE="; }; nativeBuildInputs = [ mecab # for mecab-config swig setuptools-scm ]; buildInputs = [ mecab ]; doCheck = false; 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 ]; }; }