python311Packages.yanc: drop

This commit is contained in:
Sigmanificient 2024-07-25 21:10:37 +02:00
parent dd081b2473
commit bd081b709b
4 changed files with 3 additions and 46 deletions

View File

@ -4,8 +4,7 @@
fetchPypi,
six,
unidecode,
nose,
yanc,
pytestCheckHook,
}:
buildPythonPackage rec {
@ -17,20 +16,13 @@ buildPythonPackage rec {
six
unidecode
];
nativeCheckInputs = [
nose
yanc
];
nativeCheckInputs = [ pytestCheckHook ];
src = fetchPypi {
inherit pname version;
sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
};
checkPhase = ''
nosetests .
'';
meta = with lib; {
description = "Assertion library for Python";
homepage = "http://heynemann.github.io/preggy/";

View File

@ -1,34 +0,0 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
nose,
}:
buildPythonPackage rec {
pname = "yanc";
version = "0.3.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0z35bkk9phs40lf5061k1plhjdl5fskm0dmdikrsqi1bjihnxp8w";
};
# Tests fail on Python>=3.5. See: https://github.com/0compute/yanc/issues/10
doCheck = pythonOlder "3.5";
nativeCheckInputs = [ nose ];
checkPhase = ''
nosetests .
'';
meta = with lib; {
description = "Yet another nose colorer";
homepage = "https://github.com/0compute/yanc";
license = licenses.gpl3;
maintainers = with maintainers; [ jluttine ];
};
}

View File

@ -613,6 +613,7 @@ mapAliases ({
xenomapper = throw "xenomapper was moved to pkgs.xenomapper"; # added 2021-12-31
XlsxWriter = xlsxwriter; # added 2023-02-19
Yapsy = yapsy; # added 2023-02-19
yanc = throw "yanc has been removed because it relies on nose"; # added 2024-07-27
z3 = z3-solver; # added 2023-12-03
zake = throw "zake has been removed because it is abandoned"; # added 2023-06-20
zc_buildout_nix = throw "zc_buildout_nix was pinned to a version no longer compatible with other modules";

View File

@ -17564,8 +17564,6 @@ self: super: with self; {
yamlordereddictloader = callPackage ../development/python-modules/yamlordereddictloader { };
yanc = callPackage ../development/python-modules/yanc { };
yangson = callPackage ../development/python-modules/yangson { };
yapf = callPackage ../development/python-modules/yapf { };