2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-26 16:43:34 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-wifi";
|
|
|
|
version = "0.6.1";
|
|
|
|
disabled = !isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "tar.bz2";
|
|
|
|
sha256 = "149c3dznb63d82143cz5hqdim0mqjysz6p3yk0zv271vq3xnmzvv";
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-26 16:43:34 +01:00
|
|
|
inherit version;
|
|
|
|
description = "Read & write wireless card capabilities using the Linux Wireless Extensions";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://pythonwifi.tuxfamily.org/";
|
2018-10-26 16:43:34 +01:00
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|