1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "simplemma"; 12 version = "0.9.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "adbar"; 19 repo = "simplemma"; 20 rev = "v${version}"; 21 hash = "sha256-2IvAJ+tRnlYISymYXznCGAoUTKkM/PoYwpZpuMSXRYQ="; 22 }; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "simplemma" ]; 27 28 meta = with lib; { 29 description = "Simple multilingual lemmatizer for Python, especially useful for speed and efficiency"; 30 homepage = "https://github.com/adbar/simplemma"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ ]; 33 }; 34}