python310Packages.mecab-python3: add changelog to meta

This commit is contained in:
Fabian Affolter 2022-12-09 13:53:29 +01:00 committed by GitHub
parent cdd4e79bba
commit a2a62e2e56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,15 +4,19 @@
, mecab
, swig
, setuptools-scm
, pythonOlder
}:
buildPythonPackage rec {
pname = "mecab-python3";
version = "1.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-FvOKzkhAIL00RqEAVIKWeMHnuX8XQLWLAKMdWVz/Al4=";
hash = "sha256-FvOKzkhAIL00RqEAVIKWeMHnuX8XQLWLAKMdWVz/Al4=";
};
nativeBuildInputs = [
@ -21,13 +25,20 @@ buildPythonPackage rec {
setuptools-scm
];
buildInputs = [ mecab ];
buildInputs = [
mecab
];
doCheck = false;
pythonImportsCheck = [
"MeCab"
];
meta = with lib; {
description = "A 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 licenses; [ gpl2 lgpl21 bsd3 ]; # any of the three
maintainers = with maintainers; [ ixxie ];
};