nixpkgs/pkgs/tools/security/hcxdumptool/default.nix
2020-06-26 11:28:32 +00:00

26 lines
630 B
Nix

{ stdenv, lib, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
pname = "hcxdumptool";
version = "6.0.7";
src = fetchFromGitHub {
owner = "ZerBea";
repo = "hcxdumptool";
rev = version;
sha256 = "14w4f63nrcwhqj753rjif9cgs1xh1r1619827p69dz0v2x3xdvn1";
};
buildInputs = [ openssl ];
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
homepage = "https://github.com/ZerBea/hcxdumptool";
description = "Small tool to capture packets from wlan devices";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ danielfullmer ];
};
}