depot/third_party/nixpkgs/pkgs/tools/security/hcxdumptool/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
655 B
Nix

{ stdenv, lib, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
pname = "hcxdumptool";
version = "6.3.2";
src = fetchFromGitHub {
owner = "ZerBea";
repo = "hcxdumptool";
rev = version;
sha256 = "sha256-InMyDUEH135Y1RYJ3z1+RQxPMi7+QMf670S/S2ZL9vg=";
};
buildInputs = [ openssl ];
installFlags = [ "PREFIX=$(out)" ];
meta = with 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 ];
mainProgram = "hcxdumptool";
};
}