python310Packages.weakrefmethod: remove
This package is only needed by Python 2. Due to its low usage within nixpkgs, I feel that it can be maintained out of tree if necessary. As a benefit, this remove one more dependency on unittest2, which is unmaintained by upstream, and which we would like to remove.
This commit is contained in:
parent
821c943d1b
commit
c35afb9aeb
3 changed files with 1 additions and 26 deletions
|
@ -1,24 +0,0 @@
|
|||
{ stdenv, lib, buildPythonPackage, fetchPypi, unittest2 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "weakrefmethod";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-N7wfu1V1rPghctTre2/EQS131aHXDf8sH4pFdDAc2mY=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
unittest2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "weakrefmethod" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A WeakMethod class for storing bound methods using weak references";
|
||||
homepage = "https://github.com/twang817/weakrefmethod";
|
||||
license = licenses.psfl;
|
||||
maintainers = with maintainers; [ myaats ];
|
||||
};
|
||||
}
|
|
@ -216,6 +216,7 @@ mapAliases ({
|
|||
types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30
|
||||
Wand = wand; # added 2022-11-13
|
||||
WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
|
||||
weakrefmethod = throw "weakrefmethod was removed since it's not needed in Python >= 3.4"; # added 2022-12-01
|
||||
webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29
|
||||
websocket_client = websocket-client; # added 2021-06-15
|
||||
xenomapper = throw "xenomapper was moved to pkgs.xenomapper"; # added 2021-12-31
|
||||
|
|
|
@ -11893,8 +11893,6 @@ self: super: with self; {
|
|||
|
||||
wcwidth = callPackage ../development/python-modules/wcwidth { };
|
||||
|
||||
weakrefmethod = callPackage ../development/python-modules/weakrefmethod { };
|
||||
|
||||
weasyprint = callPackage ../development/python-modules/weasyprint { };
|
||||
|
||||
web3 = callPackage ../development/python-modules/web3 { };
|
||||
|
|
Loading…
Reference in a new issue