python313Packages.coloredlogs: replace pipes module usage

It was deprecated in 3.11 and removed in 3.13.
This commit is contained in:
Robert Schütz 2024-11-14 08:31:22 -08:00 committed by Martin Weinelt
parent c107d8c99b
commit 8d171082ff
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
humanfriendly,
verboselogs,
capturer,
@ -23,6 +24,15 @@ buildPythonPackage rec {
hash = "sha256-TodI2Wh8M0qMM2K5jzqlLmUKILa5+5qq4ByLttmAA7E=";
};
patches = [
# https://github.com/xolox/python-coloredlogs/pull/120
(fetchpatch2 {
name = "python313-compat.patch";
url = "https://github.com/xolox/python-coloredlogs/commit/9d4f4020897fcf48d381de8e099dc29b53fc9531.patch?full_index=1";
hash = "sha256-Z7MYzyoQBMLBS7c0r5zITuHpl5yn4Vg7Xf/CiG7jTSs=";
})
];
propagatedBuildInputs = [ humanfriendly ];
nativeCheckInputs = [