nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "pyspellchecker";
11 version = "0.9.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "barrust";
16 repo = "pyspellchecker";
17 tag = "v${version}";
18 hash = "sha256-Ui1IPqvVqf7scMg+B1KmI5jWrHSsuaW6sCoWeiF2oMI=";
19 };
20
21 nativeBuildInputs = [ setuptools ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 meta = {
26 description = "Pure python spell checking";
27 homepage = "https://github.com/barrust/pyspellchecker";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ zendo ];
30 };
31}