{ stdenv, fetchFromGitHub, curl, openssl, zlib }: stdenv.mkDerivation rec { pname = "hcxtools"; version = "5.1.6"; src = fetchFromGitHub { owner = "ZerBea"; repo = pname; rev = version; sha256 = "05sjbmv2wq3nlmammrwxqc62c4sagjjgczzddr1jcqkf6kywzkl8"; }; buildInputs = [ curl openssl zlib ]; makeFlags = [ "PREFIX=${placeholder "out"}" ]; meta = with stdenv.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 ]; }; }