blob: 5800df6950ba9f2afe5e608ceae929c4d9f64295 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, fetchFromGitHub, rustPlatform, libpcap, libseccomp, pkg-config }:
rustPlatform.buildRustPackage rec {
pname = "sniffglue";
version = "0.13.0";
src = fetchFromGitHub {
owner = "kpcyrd";
repo = pname;
rev = "v${version}";
sha256 = "sha256-UZLVkTkuJPzju9fl4N6Lgdn3gNBpKruNFxDcoTwdtYc=";
};
cargoSha256 = "sha256-bHwp0U83uvhFOi9oaeVwNrqHkxK2IQs/bvxqUl/rpjI=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpcap libseccomp ];
meta = with lib; {
description = "Secure multithreaded packet sniffer";
homepage = "https://github.com/kpcyrd/sniffglue";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ xrelkd ];
platforms = platforms.linux;
};
}
|