blob: 232e1a01406029848753d0477e4bc110e73a8be4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
btrees,
persistent,
zope-interface,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "zope-index";
version = "8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zopefoundation";
repo = "zope.index";
tag = version;
hash = "sha256-dHapd/+pJh6qzVx9FGSMmPsGbz8NhAoPqufXm3FOuM8=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools ==" "setuptools >="
'';
build-system = [
setuptools
];
dependencies = [
btrees
persistent
zope-interface
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"zope.index"
];
pythonNamespaces = [
"zope"
];
meta = {
description = "Full-text indexing and searching for Zope";
homepage = "https://github.com/zopefoundation/zope.index";
changelog = "https://github.com/zopefoundation/zope.index/blob/${version}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = with lib.maintainers; [ daniel-fahey ];
};
}
|