python3Packages.python-wifi: drop

The PyPi repository shows only Python2 support, and the package was
disabled for everything that was not Python27.
This commit is contained in:
Benjamin Sparks
2025-03-23 01:31:26 +01:00
parent 2cc5727af9
commit a4df919333
3 changed files with 1 additions and 32 deletions

View File

@@ -1,30 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
isPy27,
}:
buildPythonPackage rec {
pname = "python-wifi";
version = "0.6.1";
format = "setuptools";
disabled = !isPy27;
src = fetchPypi {
inherit pname version;
extension = "tar.bz2";
sha256 = "149c3dznb63d82143cz5hqdim0mqjysz6p3yk0zv271vq3xnmzvv";
};
meta = with lib; {
description = "Read & write wireless card capabilities using the Linux Wireless Extensions";
homepage = "http://pythonwifi.tuxfamily.org/";
# From the README: "pythonwifi is licensed under LGPLv2+, however, the
# examples (e.g. iwconfig.py and iwlist.py) are licensed under GPLv2+."
license = with licenses; [
lgpl2Plus
gpl2Plus
];
};
}

View File

@@ -595,6 +595,7 @@ mapAliases ({
python-Levenshtein = levenshtein;
python-pushover = throw "python-pushover has been removed, since it is unmaintained and is broken"; # added 2023-07-03
python-subunit = subunit; # added 2021-09-10
python-wifi = throw "python-wifi does not support Python3";
pytest_xdist = pytest-xdist; # added 2021-01-04
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
pytoml = throw "pytoml has been removed because it is unmaintained and is superseded by toml"; # Added 2023-04-11

View File

@@ -13787,8 +13787,6 @@ self: super: with self; {
python-whois = callPackage ../development/python-modules/python-whois { };
python-wifi = callPackage ../development/python-modules/python-wifi { };
python-wink = callPackage ../development/python-modules/python-wink { };
python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };