blob: 10e880d4a1fe7cf1ef04240190e622863ff6f769 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
zope-event,
zope-interface,
unittestCheckHook,
zope-component,
zope-testing,
}:
buildPythonPackage rec {
pname = "zope-lifecycleevent";
version = "6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zopefoundation";
repo = "zope.lifecycleevent";
tag = version;
hash = "sha256-HgxOUseRYc+mkwESUDqauoH2D2E4PL8XxM1C0FC35w8=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools ==" "setuptools >="
'';
build-system = [ setuptools ];
dependencies = [
zope-event
zope-interface
];
pythonImportsCheck = [
"zope.lifecycleevent"
"zope.interface"
];
nativeCheckInputs = [
unittestCheckHook
zope-component
zope-testing
];
unittestFlagsArray = [ "src/zope/lifecycleevent" ];
pythonNamespaces = [ "zope" ];
meta = {
homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
description = "Object life-cycle events";
changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${src.tag}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = [ ];
};
}
|