2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
gcc,
|
|
|
|
wirelesstools,
|
|
|
|
isPy27,
|
|
|
|
isPyPy,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "basiciw";
|
|
|
|
version = "0.2.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
disabled = isPy27 || isPyPy;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1ajmflvvlkflrcmqmkrx0zaira84z8kv4ssb2jprfwvjh8vfkysb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gcc ];
|
|
|
|
propagatedBuildInputs = [ wirelesstools ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Get info about wireless interfaces using libiw";
|
|
|
|
homepage = "https://github.com/enkore/basiciw";
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|