1{ lib, buildPythonPackage, pystemmer, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "snowballstemmer";
5 version = "2.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1";
10 };
11
12 # No tests included
13 doCheck = false;
14
15 propagatedBuildInputs = [ pystemmer ];
16
17 meta = with lib; {
18 description = "16 stemmer algorithms (15 + Poerter English stemmer) generated from Snowball algorithms";
19 homepage = "http://sigal.saimon.org/en/latest/index.html";
20 license = licenses.bsd3;
21 platforms = platforms.unix;
22 };
23}