uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
48
pkgs/tools/security/cowpatty/default.nix
Normal file
48
pkgs/tools/security/cowpatty/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, clang
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, openssl
|
||||
, libpcap
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cowpatty";
|
||||
version = "4.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joswr1ght";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0fvwwghhd7wsx0lw2dj9rdsjnirawnq3c6silzvhi0yfnzn5fs0s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
clang
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
libpcap
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
"BINDIR=/bin"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage cowpatty.1
|
||||
installManPage genpmk.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Offline dictionary attack against WPA/WPA2 networks";
|
||||
homepage = "https://github.com/joswr1ght/cowpatty";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ nico202 fab ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue