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