1 { lib, fetchFromGitHub, rustPlatform, libpcap, libseccomp, pkg-config }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-8SkwdPaKHf0ZE/MeM4yOe2CpQvZzIHf5d06iM7KPAT8=";
14 cargoSha256 = "sha256-UGvFLW48sakNuV3eXBpCxaHOrveQPXkynOayMK6qs4g=";
16 nativeBuildInputs = [ pkg-config ];
18 buildInputs = [ libpcap libseccomp ];
21 description = "Secure multithreaded packet sniffer";
22 homepage = "https://github.com/kpcyrd/sniffglue";
23 license = licenses.gpl3Plus;
24 maintainers = with maintainers; [ xrelkd ];
25 platforms = platforms.linux;