about summary refs log tree commit diff
path: root/pkgs/development/python-modules/basiciw/default.nix
blob: 45b1d5407db48579c21f1e705c3f16f311dbb945 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  gcc,
  wirelesstools,
  isPy27,
  isPyPy,
}:

buildPythonPackage rec {
  pname = "basiciw";
  version = "0.2.2";
  format = "setuptools";

  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;
  };
}