depot/third_party/nixpkgs/pkgs/development/python-modules/zope-proxy/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

42 lines
838 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, zope-interface
}:
buildPythonPackage rec {
pname = "zope-proxy";
version = "5.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "zope.proxy";
inherit version;
hash = "sha256-d3e9P4986nRSFyYgLhptUVPb9knyBOJQBYrQOvRqQxg=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ zope-interface ];
# circular deps
doCheck = false;
pythonImportsCheck = [
"zope.proxy"
];
meta = with lib; {
homepage = "https://github.com/zopefoundation/zope.proxy";
description = "Generic Transparent Proxies";
changelog = "https://github.com/zopefoundation/zope.proxy/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = with maintainers; [ goibhniu ];
};
}