1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "pyspellchecker";
11 version = "0.8.3";
12 format = "pyproject";
13
14 src = fetchFromGitHub {
15 owner = "barrust";
16 repo = "pyspellchecker";
17 tag = "v${version}";
18 hash = "sha256-cfYtUOXO4xzO2CYYhWMv3o40iw5/+nvA8MAzJn6LPlQ=";
19 };
20
21 nativeBuildInputs = [ setuptools ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 meta = with lib; {
26 description = "Pure python spell checking";
27 homepage = "https://github.com/barrust/pyspellchecker";
28 license = licenses.mit;
29 maintainers = with maintainers; [ zendo ];
30 };
31}