2021-02-13 10:24:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl, zlib }:
|
2019-05-28 13:29:51 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hcxtools";
|
2021-05-18 06:31:29 +02:00
|
|
|
version = "6.2.0";
|
2019-05-28 13:29:51 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ZerBea";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-05-18 06:31:29 +02:00
|
|
|
sha256 = "sha256-4/kqy0oIe2FdKWtVj11PAUbdWPcKmZ1aIxLx/Zw1E2w=";
|
2019-05-28 13:29:51 +02:00
|
|
|
};
|
|
|
|
|
2021-02-13 10:24:33 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-05-28 13:29:51 +02:00
|
|
|
buildInputs = [ curl openssl zlib ];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=${placeholder "out"}"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-05-28 13:29:51 +02:00
|
|
|
description = "Tools for capturing wlan traffic and conversion to hashcat and John the Ripper formats";
|
2020-04-03 21:04:02 +02:00
|
|
|
homepage = "https://github.com/ZerBea/hcxtools";
|
2019-05-28 13:29:51 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ dywedir ];
|
|
|
|
};
|
|
|
|
}
|