1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 unittestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "stop-words";
11 version = "2018.7.23";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-bfOtX13ml9qkN+REXIbHNgTmvBON0NwPrFVmSqTmsD4=";
17 };
18
19 build-system = [ setuptools ];
20
21 nativeCheckInputs = [ unittestCheckHook ];
22
23 pythonImportsCheck = [ "stop_words" ];
24
25 meta = {
26 description = "Get list of common stop words in various languages in Python";
27 homepage = "https://github.com/Alir3z4/python-stop-words";
28 license = [ lib.licenses.bsd3 ];
29 maintainers = with lib.maintainers; [ lavafroth ];
30 };
31}