Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ca2a222747bd
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c7348b010bdb
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 14, 2020

  1. 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.
    danielfullmer committed Apr 14, 2020
    Copy the full SHA
    7e46e2a View commit details
  2. Copy the full SHA
    93f3b6e View commit details
  3. Merge pull request #85240 from danielfullmer/wifite2-update

    wifite2: 2.2.5 -> 2.5.2
    Lassulus authored Apr 14, 2020
    Copy the full SHA
    c7348b0 View commit details
Showing with 23 additions and 7 deletions.
  1. +23 −7 pkgs/tools/networking/wifite2/default.nix
30 changes: 23 additions & 7 deletions pkgs/tools/networking/wifite2/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,39 @@
{ 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
reaverwps-t6x
cowpatty
hashcat
hcxtools
hcxdumptool
wirelesstools
pyrit
which
];

@@ -27,14 +43,14 @@ 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";
description = "Rewrite of the popular wireless network auditor, wifite";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ lassulus ];
maintainers = with maintainers; [ lassulus danielfullmer ];
};
}