1{ stdenv, lib, fetchFromGitHub, openssl }:
2
3stdenv.mkDerivation rec {
4 pname = "hcxdumptool";
5 version = "6.3.0";
6
7 src = fetchFromGitHub {
8 owner = "ZerBea";
9 repo = "hcxdumptool";
10 rev = version;
11 sha256 = "sha256-29AG5vzWgVOzJvlx1TiYA/veXaQvOwfHa8QYq+qMnq0=";
12 };
13
14 buildInputs = [ openssl ];
15
16 installFlags = [ "PREFIX=$(out)" ];
17
18 meta = with lib; {
19 homepage = "https://github.com/ZerBea/hcxdumptool";
20 description = "Small tool to capture packets from wlan devices";
21 license = licenses.mit;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ danielfullmer ];
24 };
25}