1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "pyspellchecker"; 11 version = "0.8.1"; 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "barrust"; 16 repo = "pyspellchecker"; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-8IwTMj/RqMc9UqhzyvmrirPGuMEwj3iMr+FmF+8312U="; 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}