1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/tools/security/cowpatty/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
675 B
Nix

{ stdenv, fetchurl, openssl, libpcap
}:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "cowpatty";
version = "4.6";
buildInputs = [ openssl libpcap ];
src = fetchurl {
url = "http://www.willhackforsushi.com/code/cowpatty/${version}/${pname}-${version}.tgz";
sha256 = "1hivh3bq2maxvqzwfw06fr7h8bbpvxzah6mpibh3wb85wl9w2gyd";
};
installPhase = "make DESTDIR=$out BINDIR=/bin install";
meta = {
description = "Offline dictionary attack against WPA/WPA2 networks";
license = licenses.gpl2;
homepage = https://www.willhackforsushi.com/?page_id=50;
maintainers = with maintainers; [ nico202 ];
platforms = platforms.linux;
};
}