about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/snowballstemmer/default.nix
blob: 5f3029de2a7067bff0d32e73327b1df97ae9280b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, PyStemmer, fetchPypi }:

buildPythonPackage rec {
  pname = "snowballstemmer";
  version = "2.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "e997baa4f2e9139951b6f4c631bad912dfd3c792467e2f03d7239464af90e914";
  };

  # No tests included
  doCheck = false;

  propagatedBuildInputs = [ PyStemmer ];

  meta = with lib; {
    description = "16 stemmer algorithms (15 + Poerter English stemmer) generated from Snowball algorithms";
    homepage = "http://sigal.saimon.org/en/latest/index.html";
    license = licenses.bsd3;
    platforms = platforms.unix;
  };
}