sngrep: init at 1.4.6
Sngrep is used to inspect SIP traffic.
This commit is contained in:
parent
8d0225d082
commit
4d75d04d52
38
pkgs/applications/networking/sniffers/sngrep/default.nix
Normal file
38
pkgs/applications/networking/sniffers/sngrep/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv, autoconf, automake, fetchFromGitHub, libpcap, ncurses, openssl, pcre }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "sngrep";
|
||||||
|
version = "1.4.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "irontec";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0fj13pim5bfm3a2nr05apspraf29klpmcnhmycklfmrlncq5xqdf";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libpcap ncurses pcre openssl ncurses
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoconf automake
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-pcre"
|
||||||
|
"--enable-unicode"
|
||||||
|
"--enable-ipv6"
|
||||||
|
"--enable-eep"
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = "./bootstrap.sh";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A tool for displaying SIP calls message flows from terminal";
|
||||||
|
homepage = "https://github.com/irontec/sngrep";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ jorise ];
|
||||||
|
};
|
||||||
|
}
|
@ -18047,6 +18047,8 @@ in
|
|||||||
wireshark-gtk = throw "Not supported anymore. Use wireshark-qt or wireshark-cli instead.";
|
wireshark-gtk = throw "Not supported anymore. Use wireshark-qt or wireshark-cli instead.";
|
||||||
wireshark-cli = wireshark.override { withQt = false; };
|
wireshark-cli = wireshark.override { withQt = false; };
|
||||||
|
|
||||||
|
sngrep = callPackage ../applications/networking/sniffers/sngrep {};
|
||||||
|
|
||||||
termshark = callPackage ../tools/networking/termshark { };
|
termshark = callPackage ../tools/networking/termshark { };
|
||||||
|
|
||||||
fbida = callPackage ../applications/graphics/fbida { };
|
fbida = callPackage ../applications/graphics/fbida { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user