From 69e38791469be02258a3de454f82a77d5c800e2e Mon Sep 17 00:00:00 2001 From: Abus Date: Wed, 23 Sep 2026 10:31:41 -0400 Subject: [PATCH] python314Packages.base64io: fix test_base64io_decode_readlines test --- pkgs/development/python-modules/base64io/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/base64io/default.nix b/pkgs/development/python-modules/base64io/default.nix index e49670f6e856..1ad27019725b 100644 --- a/pkgs/development/python-modules/base64io/default.nix +++ b/pkgs/development/python-modules/base64io/default.nix @@ -6,6 +6,7 @@ pytestCheckHook, setuptools, unstableGitUpdater, + fetchpatch2, }: buildPythonPackage rec { @@ -20,6 +21,14 @@ buildPythonPackage rec { hash = "sha256-1MUWjFFitJ3nqvVwAQYcAVVPhPs6NEgq7t/mI71u2Bk="; }; + patches = [ + (fetchpatch2 { + name = "default-buffer-size-compat.patch"; + url = "https://github.com/abus-sh/base64io-python/commit/a929dc3c9d873eabe491ccae9a2d0d57726f37da.patch?full_index=1"; + hash = "sha256-VfPOZ8cDRW2mQy6ROl77kBRE780NhH4kbjkyD1/jMRk="; + }) + ]; + build-system = [ setuptools ]; nativeCheckInputs = [