nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python312Packages.zope-proxy: 5.3 -> 6.1

Changelog: https://github.com/zopefoundation/zope.proxy/blob/6.1/CHANGES.rst

+18 -13
+18 -13
pkgs/development/python-modules/zope-proxy/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 5 - pythonOlder, 4 + fetchFromGitHub, 6 5 setuptools, 7 6 zope-interface, 8 7 }: 9 8 10 9 buildPythonPackage rec { 11 10 pname = "zope-proxy"; 12 - version = "5.3"; 11 + version = "6.1"; 13 12 pyproject = true; 14 13 15 - disabled = pythonOlder "3.7"; 16 - 17 - src = fetchPypi { 18 - pname = "zope.proxy"; 19 - inherit version; 20 - hash = "sha256-rSTSjrxq3p++vgzEvcTsUNHe5BpFPjMa/SoSYL6Wdgg="; 14 + src = fetchFromGitHub { 15 + owner = "zopefoundation"; 16 + repo = "zope.proxy"; 17 + tag = version; 18 + hash = "sha256-RgkUojCAfwAGv8Jek2Ucg0KMtPviwXjuiO70iisParM="; 21 19 }; 22 20 23 - nativeBuildInputs = [ setuptools ]; 21 + postPatch = '' 22 + substituteInPlace pyproject.toml \ 23 + --replace-fail "setuptools<74" "setuptools" 24 + ''; 24 25 25 - propagatedBuildInputs = [ zope-interface ]; 26 + build-system = [ setuptools ]; 27 + 28 + dependencies = [ zope-interface ]; 26 29 27 30 # circular deps 28 31 doCheck = false; 29 32 30 33 pythonImportsCheck = [ "zope.proxy" ]; 31 34 32 - meta = with lib; { 35 + pythonNamespaces = [ "zope" ]; 36 + 37 + meta = { 33 38 homepage = "https://github.com/zopefoundation/zope.proxy"; 34 39 description = "Generic Transparent Proxies"; 35 40 changelog = "https://github.com/zopefoundation/zope.proxy/blob/${version}/CHANGES.rst"; 36 - license = licenses.zpl21; 41 + license = lib.licenses.zpl21; 37 42 maintainers = [ ]; 38 43 }; 39 44 }