summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/stemming/default.nix
blob: a5eaf6714d3ba0d0ba2a49609744be463341cf1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
}:
let
  pname = "stemming";
  version = "1.0.1";
in
buildPythonPackage {
  inherit version pname;
  format = "setuptools";

  # Pypi source package doesn't contain tests
  src = fetchFromGitHub {
    owner = "nmstoker";
    repo = "stemming";
    rev = "477d0e354e79843f5ec241ba3603bcb5b843c3c4";
    hash = "sha256-wnmBCbxnCZ9mN1J7sLcN7OynMcvqgAnhEgpAwW2/xz4=";
  };

  pythonImportsCheck = [ "stemming" ];

  meta = {
    description = "Python implementations of various stemming algorithms";
    homepage = "https://github.com/nmstoker/stemming";
    license = lib.licenses.unlicense;
    maintainers = with lib.maintainers; [ happysalada ];
  };
}