python3Packages.nose-timer: drop

This commit is contained in:
Emily 2024-07-27 13:45:39 +01:00
parent 5b2c9211a3
commit 4d10225ee4
3 changed files with 1 additions and 48 deletions

View File

@ -1,46 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
nose,
mock,
parameterized,
termcolor,
}:
buildPythonPackage rec {
pname = "nose-timer";
version = "1.0.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "mahmoudimus";
repo = pname;
rev = "v${version}";
sha256 = "0xsai2l5i1av62y9y0q63wy2zk27klmf2jizgghhxg2y8nfa8x3x";
};
propagatedBuildInputs = [ nose ];
nativeCheckInputs = [
mock
nose
parameterized
termcolor
];
checkPhase = ''
runHook preCheck
nosetests --verbosity 2 tests
runHook postCheck
'';
pythonImportsCheck = [ "nosetimer" ];
meta = with lib; {
description = "Timer plugin for nosetests";
homepage = "https://github.com/mahmoudimus/nose-timer";
license = licenses.mit;
maintainers = with maintainers; [ doronbehar ];
};
}

View File

@ -336,6 +336,7 @@ mapAliases ({
nose-randomly = throw "nose-randomly has been removed, it was archived and unmaintained since 2019"; # added 2024-05-22
nose-pattern-exclude = throw "nose-pattern-exclude has been removed as it has been unmaintained since 2014"; # added 2024-07-27
nose_progressive = throw "nose_progressive has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; #added 2023-02-21
nose-timer = throw "nose-timer has been removed as it depends on the abandoned nose test framework"; # added 2024-07-27
nose-warnings-filters = throw "nose-warnings-filters has been removed as it has been unmaintained since 2016"; # added 2024-07-27
nose_warnings_filters = nose-warnings-filters; # added 2024-01-07
notifymuch = throw "notifymuch has been promoted to a top-level attribute name: `pkgs.notifymuch`"; # added 2022-10-02

View File

@ -9119,8 +9119,6 @@ self: super: with self; {
nose3 = callPackage ../development/python-modules/nose3 { };
nose-timer = callPackage ../development/python-modules/nose-timer { };
nose-xunitmp = callPackage ../development/python-modules/nose-xunitmp { };
notebook = callPackage ../development/python-modules/notebook { };