29 lines
731 B
Nix
29 lines
731 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hcxtools";
|
|
version = "6.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ZerBea";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1xvr89r6287788bx5qbw9sr8jvmajps0rpc7fvh9bfzb6zw2rq6w";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ curl openssl zlib ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tools for capturing wlan traffic and conversion to hashcat and John the Ripper formats";
|
|
homepage = "https://github.com/ZerBea/hcxtools";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ dywedir ];
|
|
};
|
|
}
|