diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-02 04:14:34 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-02 13:38:15 +0100 |
commit | 94bb926967020f2386704769f736200db925b8d4 (patch) | |
tree | d6280eab83633042ff62c2dd091ecb6f6fb7bba1 /pkgs/tools/networking/wifite2 | |
parent | 71e2b303c179e97af108b8b3a38369113fd09f9a (diff) | |
download | nixlib-94bb926967020f2386704769f736200db925b8d4.tar nixlib-94bb926967020f2386704769f736200db925b8d4.tar.gz nixlib-94bb926967020f2386704769f736200db925b8d4.tar.bz2 nixlib-94bb926967020f2386704769f736200db925b8d4.tar.lz nixlib-94bb926967020f2386704769f736200db925b8d4.tar.xz nixlib-94bb926967020f2386704769f736200db925b8d4.tar.zst nixlib-94bb926967020f2386704769f736200db925b8d4.zip |
wifite2: no longer depend on pyrit
The latter was removed because it is stuck on python2. Co-authored-by: Daniel Fullmer <danielrf12@gmail.com>
Diffstat (limited to 'pkgs/tools/networking/wifite2')
-rw-r--r-- | pkgs/tools/networking/wifite2/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/tools/networking/wifite2/default.nix b/pkgs/tools/networking/wifite2/default.nix index 8a4b5f2e0514..4069e378a29b 100644 --- a/pkgs/tools/networking/wifite2/default.nix +++ b/pkgs/tools/networking/wifite2/default.nix @@ -1,6 +1,6 @@ { lib, fetchFromGitHub, fetchpatch, python3, wirelesstools , aircrack-ng, wireshark-cli, reaverwps-t6x, cowpatty, hashcat, hcxtools -, hcxdumptool, pyrit, which, bully, pixiewps }: +, hcxdumptool, which, bully, pixiewps }: python3.pkgs.buildPythonApplication rec { version = "2.5.7"; @@ -14,6 +14,11 @@ python3.pkgs.buildPythonApplication rec { }; patches = [ + # Fix issue when missing optional pyrit dependency: https://github.com/kimocoder/wifite2/pull/76 + (fetchpatch { + url = "https://github.com/kimocoder/wifite2/commit/2e5d76c794f2e5493cf5048384d6564727ae2c19.patch"; + sha256 = "0lawk8s1md98g061xg6ma37wqyqc4j2ag0gmf7insf4kvlgg3l9z"; + }) (fetchpatch { url = "https://salsa.debian.org/pkg-security-team/wifite/raw/debian/${version}-1/debian/patches/Disable-aircrack-failing-test.patch"; sha256 = "04qql8w27c1lqk59ghkr1n6r08jwdrb1dcam5k88szkk2bxv8yx1"; @@ -22,6 +27,10 @@ python3.pkgs.buildPythonApplication rec { url = "https://salsa.debian.org/pkg-security-team/wifite/raw/debian/${version}-1/debian/patches/Disable-two-failing-tests.patch"; sha256 = "1sixcqz1kbkhxf38yq55pwycm54adjx22bq46dfnl44mg69nx356"; }) + (fetchpatch { + url = "https://salsa.debian.org/pkg-security-team/wifite/raw/debian/2.5.8-2/debian/patches/fix-for-new-which.patch"; + sha256 = "0p6sa09qpq9qarkjrai2ksx9nz2v2hs6dk1y01qnfbsmc4hhm30g"; + }) ]; propagatedBuildInputs = [ @@ -33,7 +42,6 @@ python3.pkgs.buildPythonApplication rec { hcxtools hcxdumptool wirelesstools - pyrit which bully pixiewps |