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: bc1a40983f72
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f498b2ac0ef2
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 17, 2019

  1. wifite2: init at 2.2.5

    Lassulus committed Nov 17, 2019
    Copy the full SHA
    f498b2a View commit details
Showing with 42 additions and 0 deletions.
  1. +40 −0 pkgs/tools/networking/wifite2/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
40 changes: 40 additions & 0 deletions pkgs/tools/networking/wifite2/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ stdenv, lib, fetchFromGitHub, python3, aircrack-ng, wireshark-cli, reaverwps-t6x, cowpatty, hashcat, hcxtools, which }:

python3.pkgs.buildPythonApplication rec {
version = "2.2.5";
pname = "wifite2";

src = fetchFromGitHub {
owner = "derv82";
repo = "wifite2";
rev = version;
sha256 = "1hfy90wf2bjg0z8rbs8cfhhvz78pzg2c6nj0zksal42mb6b5cjdp";
};

propagatedBuildInputs = [
aircrack-ng
wireshark-cli
reaverwps-t6x
cowpatty
hashcat
hcxtools
which
];

postFixup = let
sitePackagesDir = "$out/lib/python3.${lib.versions.minor python3.version}/site-packages";
in ''
mv ${sitePackagesDir}/wifite/__main__.py ${sitePackagesDir}/wifite/wifite.py
'';

# which is not found
doCheck = false;

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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -7041,6 +7041,8 @@ in

whois = callPackage ../tools/networking/whois { };

wifite2 = callPackage ../tools/networking/wifite2 { };

wireguard-tools = callPackage ../tools/networking/wireguard-tools { };

woff2 = callPackage ../development/web/woff2 { };