linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / tools / networking / sniffglue / default.nix
blob68b4859a5fbb1578e4a106c271d7389411189b8b
1 { lib, fetchFromGitHub, rustPlatform, libpcap, libseccomp, pkg-config }:
3 rustPlatform.buildRustPackage rec {
4   pname = "sniffglue";
5   version = "0.12.0";
7   src = fetchFromGitHub {
8     owner = "kpcyrd";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-bvLkeC5Hm1enaWJtYmnnINgpSO3tlg1SsEzeMSF9OXk=";
12   };
14   cargoSha256 = "sha256-BUo3Y2tLvhOrk2w2GzYeWKpXH7TAOEdBI6vVtW2/cCs=";
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   };