depot/third_party/nixpkgs/pkgs/development/python-modules/pyspellchecker/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

34 lines
670 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
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Pure python spell checking";
homepage = "https://github.com/barrust/pyspellchecker";
license = licenses.mit;
maintainers = with maintainers; [ zendo ];
};
}