lol
1{ lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl, zlib }:
2
3stdenv.mkDerivation rec {
4 pname = "hcxtools";
5 version = "6.2.7";
6
7 src = fetchFromGitHub {
8 owner = "ZerBea";
9 repo = pname;
10 rev = version;
11 sha256 = "sha256-C9Vh8PEbxNm+8KnE6F++2CzvDwAzG/AGBYYTwFZvwBA=";
12 };
13
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ curl openssl zlib ];
16
17 makeFlags = [
18 "PREFIX=${placeholder "out"}"
19 ];
20
21 meta = with lib; {
22 description = "Tools for capturing wlan traffic and conversion to hashcat and John the Ripper formats";
23 homepage = "https://github.com/ZerBea/hcxtools";
24 license = licenses.mit;
25 platforms = platforms.linux;
26 maintainers = with maintainers; [ dywedir ];
27 };
28}