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.
This commit is contained in:
Bjørn Forsman 2025-06-24 20:18:16 +02:00
parent 260402df03
commit bb6f241233

View File

@ -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