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

26 lines
630 B
Nix
Raw Normal View History

2020-03-30 01:59:49 +01:00
{ stdenv, lib, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
2020-04-27 21:22:25 +01:00
pname = "hcxdumptool";
2020-05-24 22:09:43 +01:00
version = "6.0.6";
2020-03-30 01:59:49 +01:00
src = fetchFromGitHub {
owner = "ZerBea";
repo = "hcxdumptool";
rev = version;
2020-05-24 22:09:43 +01:00
sha256 = "1b4d543y64ib92w9gcmiyjn5hz2vyjqmxk3f3yr1zk04fhw16gmf";
2020-03-30 01:59:49 +01: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 ];
};
}