Merge pull request #257436 from paveloom/simplemma

python3Packages.simplemma: init at 0.9.1
This commit is contained in:
Weijia Wang 2023-09-29 00:10:14 +02:00 committed by GitHub
commit 8ceb1c29e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "simplemma";
version = "0.9.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "adbar";
repo = "simplemma";
rev = "v${version}";
hash = "sha256-2IvAJ+tRnlYISymYXznCGAoUTKkM/PoYwpZpuMSXRYQ=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"simplemma"
];
meta = with lib; {
description = "Simple multilingual lemmatizer for Python, especially useful for speed and efficiency";
homepage = "https://github.com/adbar/simplemma";
license = licenses.mit;
maintainers = with maintainers; [ paveloom ];
};
}

View File

@ -11957,6 +11957,8 @@ self: super: with self; {
simplekv = callPackage ../development/python-modules/simplekv { };
simplemma = callPackage ../development/python-modules/simplemma { };
simplenote = callPackage ../development/python-modules/simplenote { };
simplepush = callPackage ../development/python-modules/simplepush { };