blob: 774845f67bf24605d163d065943beca115401da9 (
plain)
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
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchPypi,
wirelesstools,
cffi,
pytest,
}:
buildPythonPackage rec {
pname = "iwlib";
version = "1.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "a805f6597a70ee3001aba8f039fb7b2dcb75dc15c4e7852f5594fd6379196da1";
};
propagatedBuildInputs = [
wirelesstools
cffi
];
nativeBuildInputs = [ pytest ];
pythonImportsCheck = [ "iwlib" ];
checkInputs = [ pytest ];
checkPhase = "python iwlib/_iwlib_build.py; pytest -v";
meta = {
homepage = "https://github.com/nhoad/python-iwlib";
description = "Python interface for the Wireless Tools utility collection";
changelog = "https://github.com/nhoad/python-iwlib#change-history";
maintainers = with lib.maintainers; [ jcspeegs ];
license = lib.licenses.gpl2Only;
};
}
|