From b82555212853eedf9562d4c59bfd0f629e9d2a53 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 11 Jul 2026 23:58:29 +0200 Subject: [PATCH] python3Packages.infrared-protocols: relax setuptools constraint --- .../python-modules/infrared-protocols/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/infrared-protocols/default.nix b/pkgs/development/python-modules/infrared-protocols/default.nix index 839e13159529..5654af041975 100644 --- a/pkgs/development/python-modules/infrared-protocols/default.nix +++ b/pkgs/development/python-modules/infrared-protocols/default.nix @@ -18,6 +18,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-6kyb0a0cCwVSS4evDGg0Z7wLGhDUHnLeXUJ9PW+fhHk="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools>=78.1.1,<83.0" setuptools + ''; + build-system = [ setuptools ]; pythonImportsCheck = [ "infrared_protocols" ];