crun: 1.8.3 -> 1.8.4
[NixPkgs.git] / pkgs / tools / networking / sniffglue / default.nix
blobfdedff083b1bcfa9fc4b2fe55d972c789a6d1361
1 { lib, fetchFromGitHub, rustPlatform, libpcap, libseccomp, pkg-config }:
3 rustPlatform.buildRustPackage rec {
4   pname = "sniffglue";
5   version = "0.15.0";
7   src = fetchFromGitHub {
8     owner = "kpcyrd";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-8SkwdPaKHf0ZE/MeM4yOe2CpQvZzIHf5d06iM7KPAT8=";
12   };
14   cargoSha256 = "sha256-UGvFLW48sakNuV3eXBpCxaHOrveQPXkynOayMK6qs4g=";
16   nativeBuildInputs = [ pkg-config ];
18   buildInputs = [ libpcap libseccomp ];
20   meta = with lib; {
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;
26   };