1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, setuptools
6, zope_interface
7}:
8
9buildPythonPackage rec {
10 pname = "zope-proxy";
11 version = "5.1";
12 pyproject = true;
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 pname = "zope.proxy";
18 inherit version;
19 hash = "sha256-d3e9P4986nRSFyYgLhptUVPb9knyBOJQBYrQOvRqQxg=";
20 };
21
22 nativeBuildInputs = [
23 setuptools
24 ];
25
26 propagatedBuildInputs = [ zope_interface ];
27
28 # circular deps
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "zope.proxy"
33 ];
34
35 meta = with lib; {
36 homepage = "https://github.com/zopefoundation/zope.proxy";
37 description = "Generic Transparent Proxies";
38 changelog = "https://github.com/zopefoundation/zope.proxy/blob/${version}/CHANGES.rst";
39 license = licenses.zpl21;
40 maintainers = with maintainers; [ goibhniu ];
41 };
42}