diff options
author | Daniel Fullmer <danielrf12@gmail.com> | 2020-03-30 12:09:05 -0400 |
---|---|---|
committer | Daniel Fullmer <danielrf12@gmail.com> | 2020-04-14 14:29:18 -0400 |
commit | 7e46e2a863f888d9a6c940e9e5f8a89d6e0ab0e7 (patch) | |
tree | 3a6a1b0ce6498084bc954c651ac01c754cbce31c /pkgs/tools/networking/wifite2 | |
parent | 1c951b1484ebf0efc2024dc5fad252bcefe5369b (diff) | |
download | nixpkgs-7e46e2a863f888d9a6c940e9e5f8a89d6e0ab0e7.tar nixpkgs-7e46e2a863f888d9a6c940e9e5f8a89d6e0ab0e7.tar.gz nixpkgs-7e46e2a863f888d9a6c940e9e5f8a89d6e0ab0e7.tar.bz2 nixpkgs-7e46e2a863f888d9a6c940e9e5f8a89d6e0ab0e7.tar.lz nixpkgs-7e46e2a863f888d9a6c940e9e5f8a89d6e0ab0e7.tar.xz nixpkgs-7e46e2a863f888d9a6c940e9e5f8a89d6e0ab0e7.tar.zst nixpkgs-7e46e2a863f888d9a6c940e9e5f8a89d6e0ab0e7.zip |
wifite2: 2.2.5 -> 2.5.2
The kimocoder repo is more recently updated, and is the one used by Debian / Kali Linux as well.
Diffstat (limited to 'pkgs/tools/networking/wifite2')
-rw-r--r-- | pkgs/tools/networking/wifite2/default.nix | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/pkgs/tools/networking/wifite2/default.nix b/pkgs/tools/networking/wifite2/default.nix index 2333408f078..d290b8be087 100644 --- a/pkgs/tools/networking/wifite2/default.nix +++ b/pkgs/tools/networking/wifite2/default.nix @@ -1,16 +1,29 @@ -{ stdenv, lib, fetchFromGitHub, python3, aircrack-ng, wireshark-cli, reaverwps-t6x, cowpatty, hashcat, hcxtools, which }: +{ stdenv, lib, fetchFromGitHub, fetchpatch, python3, wirelesstools +, aircrack-ng, wireshark-cli, reaverwps-t6x, cowpatty, hashcat, hcxtools +, hcxdumptool, pyrit, which }: python3.pkgs.buildPythonApplication rec { - version = "2.2.5"; + version = "2.5.2"; pname = "wifite2"; src = fetchFromGitHub { - owner = "derv82"; + owner = "kimocoder"; repo = "wifite2"; rev = version; - sha256 = "1hfy90wf2bjg0z8rbs8cfhhvz78pzg2c6nj0zksal42mb6b5cjdp"; + sha256 = "0hsb59d86szn27s3hynpzkp49rmw4g692vrl67nal7rfcdvpp8hb"; }; + patches = [ + (fetchpatch { + url = "https://salsa.debian.org/pkg-security-team/wifite/raw/debian/${version}-1/debian/patches/Disable-aircrack-failing-test.patch"; + sha256 = "04qql8w27c1lqk59ghkr1n6r08jwdrb1dcam5k88szkk2bxv8yx1"; + }) + (fetchpatch { + url = "https://salsa.debian.org/pkg-security-team/wifite/raw/debian/${version}-1/debian/patches/Disable-two-failing-tests.patch"; + sha256 = "1sixcqz1kbkhxf38yq55pwycm54adjx22bq46dfnl44mg69nx356"; + }) + ]; + propagatedBuildInputs = [ aircrack-ng wireshark-cli @@ -18,6 +31,9 @@ python3.pkgs.buildPythonApplication rec { cowpatty hashcat hcxtools + hcxdumptool + wirelesstools + pyrit which ]; @@ -27,8 +43,8 @@ python3.pkgs.buildPythonApplication rec { mv ${sitePackagesDir}/wifite/__main__.py ${sitePackagesDir}/wifite/wifite.py ''; - # which is not found - doCheck = false; + checkInputs = propagatedBuildInputs; + checkPhase = "python -m unittest discover tests -v"; meta = with stdenv.lib; { homepage = "https://github.com/derv82/wifite2"; |