1 { lib, fetchFromGitHub, rustPlatform, libpcap, libseccomp, pkg-config }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-bvLkeC5Hm1enaWJtYmnnINgpSO3tlg1SsEzeMSF9OXk=";
14 cargoSha256 = "sha256-BUo3Y2tLvhOrk2w2GzYeWKpXH7TAOEdBI6vVtW2/cCs=";
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;