Something went wrong. Try again.
lol
Something went wrong. Try again.
834 B · 43 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchPypi, mecab, swig, setuptools-scm,}:
buildPythonPackage rec { pname = "mecab-python3"; version = "1.0.12"; format = "setuptools";
src = fetchPypi { pname = "mecab_python3"; inherit version; hash = "sha256-mroeVu+A3ZcUfcv441CBR68Sn7Rs7A5DK4X5apvapLk="; };
nativeBuildInputs = [ mecab # for mecab-config swig setuptools-scm ];
buildInputs = [ mecab ];
doCheck = false;
pythonImportsCheck = [ "MeCab" ];
meta = { description = "Python wrapper for mecab: Morphological Analysis engine"; homepage = "https://github.com/SamuraiT/mecab-python3"; changelog = "https://github.com/SamuraiT/mecab-python3/releases/tag/v${version}"; license = with lib.licenses; [ gpl2 lgpl21 bsd3 ]; # any of the three };}