1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "zope-event";
11 version = "5.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "zopefoundation";
16 repo = "zope.event";
17 tag = version;
18 hash = "sha256-85jXSrploTcskdOBI84KGGf9Bno41ZTtT/TrbgmTxiA=";
19 };
20
21 build-system = [ setuptools ];
22
23 pythonImportsCheck = [ "zope.event" ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 enabledTestPaths = [ "src/zope/event/tests.py" ];
28
29 pythonNamespaces = [ "zope" ];
30
31 meta = {
32 description = "Event publishing system";
33 homepage = "https://github.com/zopefoundation/zope.event";
34 changelog = "https://github.com/zopefoundation/zope.event/blob/${src.tag}/CHANGES.rst";
35 license = lib.licenses.zpl21;
36 maintainers = [ ];
37 };
38}