Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / stemming / default.nix
blobb0e9ce0c445304afb3263eec91be239b7f62f36f
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 }:
6 let
7   pname = "stemming";
8   version = "1.0.1";
9 in
10 buildPythonPackage {
11   inherit version pname;
12   format = "setuptools";
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   };
22   disabled = pythonOlder "3.7";
24   pythonImportsCheck = [ "stemming" ];
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   };