python314Packages.nose2: fix build (#492279)

This commit is contained in:
Jo
2026-02-20 12:49:47 +00:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
# build-system
setuptools,
@@ -23,6 +24,15 @@ buildPythonPackage rec {
hash = "sha256-NncPUZ31vs08v+C+5Ku/v5ufa0604DNh0oK378/E8N8=";
};
patches = [
# Starting with Python 3.14, both `-X` and `--xxx` are surrounded
# by ANSI color codes in the argparse help text.
(fetchpatch {
url = "https://github.com/nose-devs/nose2/commit/2043fdfa264dc04e379e11c227e63a5704cb0185.patch";
hash = "sha256-OWzBInMI0ef9g0H3muka7J7FP01IZEFkuzJfaku78bI=";
})
];
build-system = [ setuptools ];
optional-dependencies = {