32 lines
655 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyspellchecker";
version = "0.8.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "barrust";
repo = "pyspellchecker";
tag = "v${version}";
hash = "sha256-sQNYtm+EK/F4S/Kfy87MwqDjCfV33/v8bYi48UBz+qc=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Pure python spell checking";
homepage = "https://github.com/barrust/pyspellchecker";
license = licenses.mit;
maintainers = with maintainers; [ zendo ];
};
}