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

26 lines
630 B
Nix
Raw Normal View History

2020-03-30 00:59:49 +00:00
{ stdenv, lib, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
2020-04-27 20:22:25 +00:00
pname = "hcxdumptool";
2020-12-04 14:02:30 +00:00
version = "6.1.4";
2020-03-30 00:59:49 +00:00
src = fetchFromGitHub {
owner = "ZerBea";
repo = "hcxdumptool";
rev = version;
2020-12-04 14:02:30 +00:00
sha256 = "14rwcchqpsxyzvk086d7wbi5qlcxj4jcmafzgvkwzrpbspqh8p24";
2020-03-30 00:59:49 +00:00
};
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 ];
};
}