depot/third_party/nixpkgs/pkgs/tools/security/hcxtools/default.nix
Default email 07b8fe0546 Project import generated by Copybara.
GitOrigin-RevId: 916ee862e87ac5ee2439f2fb7856386b4dc906ae
2021-03-12 08:09:13 +01:00

28 lines
730 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl, zlib }:
stdenv.mkDerivation rec {
pname = "hcxtools";
version = "6.1.6";
src = fetchFromGitHub {
owner = "ZerBea";
repo = pname;
rev = version;
sha256 = "sha256-x6sVFjM2GMGqpoAW7CtCLUoEAYLgulaUKXequQ7DmGQ=";
};
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 ];
};
}