Merge pull request #329978 from Sigmanificient/yanc

python311Packages.yanc: drop
This commit is contained in:
Emily
2024-07-27 03:56:08 +01:00
committed by GitHub
4 changed files with 3 additions and 46 deletions
@@ -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/";
@@ -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 ];
};
}
+1
View File
@@ -616,6 +616,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";
-2
View File
@@ -17578,8 +17578,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 { };