mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
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:
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user