Merge pull request #223979 from jcspeegs/iwlib-init
This commit is contained in:
commit
6d6682772b
|
@ -7435,6 +7435,12 @@
|
||||||
githubId = 8685505;
|
githubId = 8685505;
|
||||||
name = "Jen-Chieh Shen";
|
name = "Jen-Chieh Shen";
|
||||||
};
|
};
|
||||||
|
jcspeegs = {
|
||||||
|
email = "justin@speegs.com";
|
||||||
|
github = "jcspeegs";
|
||||||
|
githubId = 34928409;
|
||||||
|
name = "Justin Speegle";
|
||||||
|
};
|
||||||
jcumming = {
|
jcumming = {
|
||||||
email = "jack@mudshark.org";
|
email = "jack@mudshark.org";
|
||||||
github = "jcumming";
|
github = "jcumming";
|
||||||
|
|
26
pkgs/development/python-modules/iwlib/default.nix
Normal file
26
pkgs/development/python-modules/iwlib/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, buildPythonPackage, fetchPypi, wirelesstools, cffi, pytest }:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "iwlib";
|
||||||
|
version = "1.7.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "a805f6597a70ee3001aba8f039fb7b2dcb75dc15c4e7852f5594fd6379196da1";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ wirelesstools cffi ];
|
||||||
|
nativeBuildInputs = [ pytest ];
|
||||||
|
pythonImportsCheck = [ "iwlib" ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
checkPhase = "python iwlib/_iwlib_build.py; pytest -v";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
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 maintainers; [ jcspeegs ];
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
};
|
||||||
|
}
|
|
@ -5143,6 +5143,8 @@ self: super: with self; {
|
||||||
|
|
||||||
itypes = callPackage ../development/python-modules/itypes { };
|
itypes = callPackage ../development/python-modules/itypes { };
|
||||||
|
|
||||||
|
iwlib = callPackage ../development/python-modules/iwlib { };
|
||||||
|
|
||||||
j2cli = callPackage ../development/python-modules/j2cli { };
|
j2cli = callPackage ../development/python-modules/j2cli { };
|
||||||
|
|
||||||
jaconv = callPackage ../development/python-modules/jaconv { };
|
jaconv = callPackage ../development/python-modules/jaconv { };
|
||||||
|
|
Loading…
Reference in a new issue