Commit a4df9193 authored by Benjamin Sparks's avatar Benjamin Sparks
Browse files

python3Packages.python-wifi: drop

The PyPi repository shows only Python2 support, and the package was
disabled for everything that was not Python27.
parent 2cc5727a
Loading
Loading
Loading
Loading
+0 −30
Original line number Diff line number Diff line
{
  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
    ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };