btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / hc / hcxtools / package.nix
blob1d52561e1888997caebdbcc43d27ee48813a65f1
1 { lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl, zlib }:
3 stdenv.mkDerivation rec {
4   pname = "hcxtools";
5   version = "6.3.4";
7   src = fetchFromGitHub {
8     owner = "ZerBea";
9     repo = pname;
10     rev = version;
11     sha256 = "sha256-03NPzSThmUPAEg5dBr2QkwaXPgGeu/lEe9nqhY8EkyA=";
12   };
14   nativeBuildInputs = [ pkg-config ];
15   buildInputs = [ curl openssl zlib ];
17   makeFlags = [
18     "PREFIX=${placeholder "out"}"
19   ];
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   };