File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed
pkgs/development/python-modules/simplemma Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4- pythonOlder ,
54 fetchFromGitHub ,
6-
5+ setuptools ,
6+ marisa-trie ,
7+ platformdirs ,
8+ pytest ,
9+ pytest-cov-stub ,
710 pytestCheckHook ,
811} :
912
1013buildPythonPackage rec {
1114 pname = "simplemma" ;
1215 version = "1.1.1" ;
13- format = "setuptools" ;
14-
15- disabled = pythonOlder "3.6" ;
16+ pyproject = true ;
1617
1718 src = fetchFromGitHub {
1819 owner = "adbar" ;
@@ -21,14 +22,28 @@ buildPythonPackage rec {
2122 hash = "sha256-X0mqFPdCo0/sTexv4bi4bND7LFHOJvlOPH6tB39ybZY=" ;
2223 } ;
2324
24- nativeCheckInputs = [ pytestCheckHook ] ;
25+ build-system = [
26+ setuptools
27+ ] ;
28+
29+ optional-dependencies = {
30+ marisa-trie = [
31+ marisa-trie
32+ platformdirs
33+ ] ;
34+ } ;
35+
36+ nativeCheckInputs = [
37+ pytest-cov-stub
38+ pytestCheckHook
39+ ] ;
2540
2641 pythonImportsCheck = [ "simplemma" ] ;
2742
28- meta = with lib ; {
43+ meta = {
2944 description = "Simple multilingual lemmatizer for Python, especially useful for speed and efficiency" ;
3045 homepage = "https://github.com/adbar/simplemma" ;
31- license = licenses . mit ;
46+ license = lib . licenses . mit ;
3247 maintainers = [ ] ;
3348 } ;
3449}
You can’t perform that action at this time.
0 commit comments