Unverified Commit bba27701 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

python314Packages.nose2: fix build (#492279)

parents 1de30529 1f9a42d6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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 = {