nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

pythonPackages.wifi: init 0.3.5

+47
+45
pkgs/development/python-modules/wifi/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pbkdf2 5 + , pytestCheckHook 6 + , pythonOlder 7 + , substituteAll 8 + , wirelesstools 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "wifi"; 13 + version = "0.3.5"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "rockymeza"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "sha256-scg/DvApvyQZtzDgkHFJzf9gCRfJgBvZ64CG/c2Cx8E="; 20 + }; 21 + 22 + disabled = pythonOlder "2.6"; 23 + 24 + postPatch = '' 25 + substituteInPlace wifi/scan.py \ 26 + --replace "/sbin/iwlist" "${wirelesstools}/bin/iwlist" 27 + ''; 28 + 29 + checkInputs = [ 30 + pytestCheckHook 31 + ]; 32 + 33 + propagatedBuildInputs = [ 34 + pbkdf2 35 + ]; 36 + 37 + pythonImportsCheck = [ "wifi" ]; 38 + 39 + meta = with lib; { 40 + description = "Provides a command line wrapper for iwlist and /etc/network/interfaces"; 41 + homepage = "https://github.com/rockymeza/wifi"; 42 + maintainers = with maintainers; [ rhoriguchi ]; 43 + license = licenses.bsd2; 44 + }; 45 + }
+2
pkgs/top-level/python-packages.nix
··· 10781 10781 10782 10782 wiffi = callPackage ../development/python-modules/wiffi { }; 10783 10783 10784 + wifi = callPackage ../development/python-modules/wifi { }; 10785 + 10784 10786 willow = callPackage ../development/python-modules/willow { }; 10785 10787 10786 10788 winacl = callPackage ../development/python-modules/winacl { };