nixpkgs/pkgs/tools/security/hcxtools/default.nix

29 lines
731 B
Nix
Raw Normal View History

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