python310Packages.rednose: remove

rednose is no longer maintained and fails to build
This commit is contained in:
Fabian Affolter 2023-08-06 21:42:54 +02:00
parent 1c39600cb3
commit 0862abe3ea
3 changed files with 1 additions and 32 deletions

View File

@ -1,30 +0,0 @@
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
, nose, six, colorama, termstyle }:
buildPythonPackage rec {
pname = "rednose";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "6da77917788be277b70259edc0bb92fc6f28fe268b765b4ea88206cc3543a3e1";
};
prePatch = ''
substituteInPlace setup.py --replace "six==1.10.0" "six>=1.10.0"
'';
# Do not test on Python 2 because the tests suite gets stuck
# https://github.com/NixOS/nixpkgs/issues/60786
# Also macOS tests are broken on python38
doCheck = !(isPy27 || (stdenv.isDarwin && pythonAtLeast "3.8"));
nativeCheckInputs = [ six ];
propagatedBuildInputs = [ nose colorama termstyle ];
meta = with lib; {
description = "A python nose plugin adding color to console results";
homepage = "https://github.com/JBKahn/rednose";
license = licenses.mit;
};
}

View File

@ -312,6 +312,7 @@ mapAliases ({
qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
rabbitpy = throw "rabbitpy has been removed, since it is unmaintained and broken"; # added 2023-07-01
rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
rednose = throw "rednose is no longer maintained (since February 2018)"; # added 2023-08-06
retworkx = rustworkx; # added 2023-05-14
repeated_test = repeated-test; # added 2022-11-15
requests_oauthlib = requests-oauthlib; # added 2022-02-12

View File

@ -10878,8 +10878,6 @@ self: super: with self; {
redis = callPackage ../development/python-modules/redis { };
rednose = callPackage ../development/python-modules/rednose { };
redshift-connector = callPackage ../development/python-modules/redshift-connector { };
reedsolo = callPackage ../development/python-modules/reedsolo { };