1{
2 lib,
3 buildPythonPackage,
4 cached-property,
5 fetchFromGitHub,
6 loguru,
7 pytestCheckHook,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "whoosh-reloaded";
13 version = "2.7.5";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "Sygil-Dev";
18 repo = "whoosh-reloaded";
19 tag = "v${version}";
20 hash = "sha256-frM8tw298Yz3u3rLK4CxWUXL6ymCSwYyYhXP/EdyjtQ=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 cached-property
27 loguru
28 ];
29
30 nativeCheckInputs = [ pytestCheckHook ];
31
32 pythonImportsCheck = [ "whoosh" ];
33
34 meta = {
35 description = "Fast, featureful full-text indexing and searching library implemented in pure Python";
36 homepage = "https://github.com/Sygil-Dev/whoosh-reloaded";
37 license = lib.licenses.bsd2;
38 maintainers = with lib.maintainers; [ SuperSandro2000 ];
39 };
40}