Skip to content

Commit

Permalink
sniffglue: init at 0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xrelkd committed Apr 18, 2020
1 parent 2d55f9c commit 2b87ca0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/tools/networking/sniffglue/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, fetchFromGitHub, rustPlatform, libpcap, libseccomp, pkgconfig }:

rustPlatform.buildRustPackage rec {
pname = "sniffglue";
version = "0.10.1";

src = fetchFromGitHub {
owner = "kpcyrd";
repo = pname;
rev = "v${version}";
sha256 = "0vyxlqwh90shihp80fk0plnkjix9i37n2dnypzyz6nx44xd5737s";
};

cargoSha256 = "162p3a696k281cygqpl6gg4makwk2v0g2jnf1gd108dnz4jya11l";

nativeBuildInputs = [ pkgconfig ];

buildInputs = [ libpcap libseccomp ];

meta = with lib; {
description = "Secure multithreaded packet sniffer";
homepage = "https://github.com/kpcyrd/sniffglue";
license = licenses.gpl3;
maintainers = with maintainers; [ xrelkd ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6619,6 +6619,8 @@ in
libpng = libpng12;
};

sniffglue = callPackage ../tools/networking/sniffglue { };

snort = callPackage ../applications/networking/ids/snort { };

soapui = callPackage ../applications/networking/soapui { };
Expand Down

0 comments on commit 2b87ca0

Please sign in to comment.