From bb6f2412336cd9e540cd513617f0fc200e811517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Tue, 24 Jun 2025 20:18:16 +0200 Subject: [PATCH] renode: backport python-3.13 patch for robotframework renode pins an old robotframework version that doesn't support python 3.13. Backport the python 3.13 patch to fix the build. --- pkgs/by-name/re/renode/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/re/renode/package.nix b/pkgs/by-name/re/renode/package.nix index 888f29cfb5ac..1a4c4d79f987 100644 --- a/pkgs/by-name/re/renode/package.nix +++ b/pkgs/by-name/re/renode/package.nix @@ -3,6 +3,7 @@ lib, fetchFromGitHub, fetchurl, + fetchpatch, autoPatchelfHook, makeWrapper, nix-update-script, @@ -37,6 +38,14 @@ let rev = "v6.1"; hash = "sha256-l1VupBKi52UWqJMisT2CVnXph3fGxB63mBVvYdM1NWE="; }; + patches = (oldAttrs.patches or [ ]) ++ [ + (fetchpatch { + # utest: Improve filtering of output sugar for Python 3.13+ + name = "python3.13-support.patch"; + url = "https://github.com/robotframework/robotframework/commit/921e352556dc8538b72de1e693e2a244d420a26d.patch"; + hash = "sha256-aSaror26x4kVkLVetPEbrJG4H1zstHsNWqmwqOys3zo="; + }) + ]; })) ]; in