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