depot/third_party/nixpkgs/pkgs/development/python-modules/basiciw/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
584 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, gcc
, wirelesstools
, isPy27
, isPyPy
}:
buildPythonPackage rec {
pname = "basiciw";
version = "0.2.2";
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;
};
}