python3Packages.zope-index: init at 8.0
This commit is contained in:
@@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
||||
@@ -20660,6 +20660,8 @@ self: super: with self; {
|
||||
|
||||
zope-i18nmessageid = callPackage ../development/python-modules/zope-i18nmessageid { };
|
||||
|
||||
zope-index = callPackage ../development/python-modules/zope-index { };
|
||||
|
||||
zope-interface = callPackage ../development/python-modules/zope-interface { };
|
||||
|
||||
zope-lifecycleevent = callPackage ../development/python-modules/zope-lifecycleevent { };
|
||||
|
||||
Reference in New Issue
Block a user