unicode-paracode: Fix crash on Python ≥ 3.13

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2025-10-23 18:57:30 -07:00
parent 01f116e4df
commit deceeb0844
@@ -19,6 +19,14 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-FHAlZ5HID/FE9+YR7Dmc3Uh7E16QKORoD8g9jgTeQdY=";
};
patches = [
# Fix 3.13+ mutable locals()
(fetchurl {
url = "https://github.com/garabik/unicode/commit/412952b9b4730263f5b560924b84f8934ea4ba21.patch";
hash = "sha256-Rfm6Jc7V5n7ggQzA/yeDrYedGMWqRkeUX6FRCUkBWcI=";
})
];
ucdtxt = fetchurl {
url = "https://www.unicode.org/Public/16.0.0/ucd/UnicodeData.txt";
sha256 = "sha256-/1jlgjvQlRZlZKAG5H0RETCBPc+L8jTvefpRqHDttI8=";