blob: 96f7aaf9ae260944c3ebc77743cf5f3d5048522f (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
zope-interface,
}:
buildPythonPackage rec {
pname = "zope-exceptions";
version = "6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zopefoundation";
repo = "zope.exceptions";
tag = version;
hash = "sha256-LLKS/O1sfrHRfEgbb3GO+/hBtIC9CvfNjorqiKTgujo=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools ==" "setuptools >="
'';
build-system = [
setuptools
];
dependencies = [
zope-interface
];
# circular deps
doCheck = false;
pythonImportsCheck = [ "zope.exceptions" ];
meta = {
description = "Exception interfaces and implementations";
homepage = "https://pypi.python.org/pypi/zope.exceptions";
changelog = "https://github.com/zopefoundation/zope.exceptions/blob/${version}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = with lib.maintainers; [ nickcao ];
};
}
|