Files
nixpkgs/pkgs/by-name/wi/wifite2/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

89 lines
1.9 KiB
Nix

{
lib,
fetchFromGitHub,
fetchpatch,
python3,
python3Packages,
wirelesstools,
aircrack-ng,
wireshark-cli,
reaverwps-t6x,
cowpatty,
hashcat,
hcxtools,
hcxdumptool,
which,
bully,
pixiewps,
john,
iw,
macchanger,
}:
let
pythonDependencies = with python3Packages; [
chardet
scapy
];
in
python3.pkgs.buildPythonApplication rec {
pname = "wifite2";
version = "2.7.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "kimocoder";
repo = "wifite2";
rev = version;
hash = "sha256-G2AKKZUDS2UQm95TEhGJIucyMRcm7oL0d3J8uduEQhw=";
};
patches = [
(fetchpatch {
url = "https://salsa.debian.org/pkg-security-team/wifite/raw/debian/2.7.0-1/debian/patches/Disable-aircrack-failing-test.patch";
hash = "sha256-BUAowBajfnZ1x6Z3Ce3L0rAERv7v/KrdHcdvKxTxSrM=";
})
(fetchpatch {
url = "https://salsa.debian.org/pkg-security-team/wifite/raw/debian/2.7.0-1/debian/patches/Disable-two-failing-tests.patch";
hash = "sha256-wCwfNkF/GvOU5FWPmQ3dJ4Txthz9T9TO2xhSL5vllQc=";
})
(fetchpatch {
url = "https://salsa.debian.org/pkg-security-team/wifite/raw/debian/2.7.0-1/debian/patches/fix-for-new-which.patch";
hash = "sha256-8xs+O2ILSRcvsw2pyx2gEBFHdduoI+xmUvDBchKz2Qs=";
})
];
propagatedBuildInputs = [
aircrack-ng
wireshark-cli
reaverwps-t6x
cowpatty
hashcat
hcxtools
hcxdumptool
wirelesstools
which
bully
pixiewps
john
iw
macchanger
]
++ pythonDependencies;
nativeCheckInputs = propagatedBuildInputs ++ [ python3.pkgs.unittestCheckHook ];
meta = with lib; {
homepage = "https://github.com/kimocoder/wifite2";
description = "Rewrite of the popular wireless network auditor, wifite";
mainProgram = "wifite";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [
lassulus
danielfullmer
d3vil0p3r
];
};
}