summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mecab-python3
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-12-09 13:53:29 +0100
committerGitHub <noreply@github.com>2022-12-09 13:53:29 +0100
commita2a62e2e56bc9aff05e98ac8f8fddf1ab462dbd2 (patch)
treef8d1f14173258e32ee75dd6e0769541e2a8a8f3b /pkgs/development/python-modules/mecab-python3
parentcdd4e79bba4d813147255a297fedb013d20d0f10 (diff)
python310Packages.mecab-python3: add changelog to meta
Diffstat (limited to 'pkgs/development/python-modules/mecab-python3')
-rw-r--r--pkgs/development/python-modules/mecab-python3/default.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/mecab-python3/default.nix b/pkgs/development/python-modules/mecab-python3/default.nix
index 649621fad8e4..baeb56992eb8 100644
--- a/pkgs/development/python-modules/mecab-python3/default.nix
+++ b/pkgs/development/python-modules/mecab-python3/default.nix
@@ -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 ];
};