1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5}: 6let 7 pname = "stemming"; 8 version = "1.0.1"; 9in 10buildPythonPackage { 11 inherit version pname; 12 format = "setuptools"; 13 14 # Pypi source package doesn't contain tests 15 src = fetchFromGitHub { 16 owner = "nmstoker"; 17 repo = pname; 18 rev = "477d0e354e79843f5ec241ba3603bcb5b843c3c4"; 19 hash = "sha256-wnmBCbxnCZ9mN1J7sLcN7OynMcvqgAnhEgpAwW2/xz4="; 20 }; 21 22 disabled = pythonOlder "3.7"; 23 24 pythonImportsCheck = [ "stemming" ]; 25 26 meta = with lib; { 27 description = "Python implementations of various stemming algorithms."; 28 homepage = "https://github.com/nmstoker/stemming"; 29 license = licenses.unlicense; 30 maintainers = with maintainers; [ happysalada ]; 31 }; 32}