Commit 1b50bc0d authored by Justin Speegle's avatar Justin Speegle
Browse files

iwlib: init at 1.7.0

parent 0c21eefc
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4894,6 +4894,8 @@ self: super: with self; {

  itypes = callPackage ../development/python-modules/itypes { };

  iwlib = callPackage ../development/python-modules/iwlib { };

  j2cli = callPackage ../development/python-modules/j2cli { };

  jaconv = callPackage ../development/python-modules/jaconv { };