35 lines
664 B
Nix
35 lines
664 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, setuptools
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyspellchecker";
|
|
version = "0.7.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "barrust";
|
|
repo = "pyspellchecker";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-DM1Q8OirFMoYqjdSnsNL5r7Zxffxc0DEXwv1W6y8GnE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Pure python spell checking";
|
|
homepage = "https://github.com/barrust/pyspellchecker";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ zendo ];
|
|
};
|
|
}
|