From 4614c32b677cad2fed6d91c7c62fb33830dbe4bc Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Sun, 27 Apr 2025 17:59:27 +1000 Subject: [PATCH] python3Packages.rapidgzip: fix build; relax setuptools dependency --- pkgs/development/python-modules/rapidgzip/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/rapidgzip/default.nix b/pkgs/development/python-modules/rapidgzip/default.nix index ec89e760611b..5d60a3e96d5f 100644 --- a/pkgs/development/python-modules/rapidgzip/default.nix +++ b/pkgs/development/python-modules/rapidgzip/default.nix @@ -20,6 +20,11 @@ buildPythonPackage rec { hash = "sha256-fTXwrxZXtAUakMPAwsDSQz886Dnbkw/b7T1lFt4qXfE="; }; + prePatch = '' + # pythonRelaxDeps doesn't work here + substituteInPlace pyproject.toml --replace-fail "setuptools >= 61.2, < 72" "setuptools" + ''; + nativeBuildInputs = [ cython nasm