blob: 61c26a9393552caeb482c7bc0846cc98dbf82e77 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "zope-event";
version = "6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zopefoundation";
repo = "zope.event";
tag = version;
hash = "sha256-1ZdhJwxzYsMT2s+z4MLR71cLFzIEmwE0KFilwg7BQ1E=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools ==" "setuptools >="
'';
build-system = [ setuptools ];
pythonImportsCheck = [ "zope.event" ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "src/zope/event/tests.py" ];
pythonNamespaces = [ "zope" ];
meta = {
description = "Event publishing system";
homepage = "https://github.com/zopefoundation/zope.event";
changelog = "https://github.com/zopefoundation/zope.event/blob/${src.tag}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = [ ];
};
}
|