Merge pull request #223979 from jcspeegs/iwlib-init

authored by

Janik and committed by
GitHub
6d668277 8934558a

+34
+6
maintainers/maintainer-list.nix
··· 7435 7435 githubId = 8685505; 7436 7436 name = "Jen-Chieh Shen"; 7437 7437 }; 7438 + jcspeegs = { 7439 + email = "justin@speegs.com"; 7440 + github = "jcspeegs"; 7441 + githubId = 34928409; 7442 + name = "Justin Speegle"; 7443 + }; 7438 7444 jcumming = { 7439 7445 email = "jack@mudshark.org"; 7440 7446 github = "jcumming";
+26
pkgs/development/python-modules/iwlib/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, wirelesstools, cffi, pytest }: 2 + buildPythonPackage rec { 3 + pname = "iwlib"; 4 + version = "1.7.0"; 5 + 6 + src = fetchPypi { 7 + inherit pname version; 8 + sha256 = "a805f6597a70ee3001aba8f039fb7b2dcb75dc15c4e7852f5594fd6379196da1"; 9 + }; 10 + 11 + propagatedBuildInputs = [ wirelesstools cffi ]; 12 + nativeBuildInputs = [ pytest ]; 13 + pythonImportsCheck = [ "iwlib" ]; 14 + 15 + doCheck = true; 16 + checkInputs = [ pytest ]; 17 + checkPhase = "python iwlib/_iwlib_build.py; pytest -v"; 18 + 19 + meta = with lib; { 20 + homepage = "https://github.com/nhoad/python-iwlib"; 21 + description = "Python interface for the Wireless Tools utility collection"; 22 + changelog = "https://github.com/nhoad/python-iwlib#change-history"; 23 + maintainers = with maintainers; [ jcspeegs ]; 24 + license = licenses.gpl2Only; 25 + }; 26 + }
+2
pkgs/top-level/python-packages.nix
··· 5143 5143 5144 5144 itypes = callPackage ../development/python-modules/itypes { }; 5145 5145 5146 + iwlib = callPackage ../development/python-modules/iwlib { }; 5147 + 5146 5148 j2cli = callPackage ../development/python-modules/j2cli { }; 5147 5149 5148 5150 jaconv = callPackage ../development/python-modules/jaconv { };