3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/sniffers/sngrep/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
895 B
Nix
Raw Normal View History

2021-09-20 12:42:55 +01:00
{ lib
, stdenv
, autoconf
, automake
, fetchFromGitHub
, libpcap
, ncurses
, openssl
, pcre
}:
stdenv.mkDerivation rec {
pname = "sngrep";
version = "1.4.10";
src = fetchFromGitHub {
owner = "irontec";
repo = pname;
rev = "v${version}";
sha256 = "sha256-P618QLk85W0oPisAGiRfpCgHCddKutUkGjwdfgsV4Es=";
};
2021-09-20 12:42:55 +01:00
nativeBuildInputs = [
autoconf
automake
];
2021-09-20 12:42:55 +01:00
buildInputs = [
libpcap
ncurses
ncurses
openssl
pcre
];
configureFlags = [
"--with-pcre"
"--enable-unicode"
"--enable-ipv6"
"--enable-eep"
];
2021-09-20 12:42:55 +01:00
preConfigure = ''
./bootstrap.sh
'';
meta = with lib; {
description = "A tool for displaying SIP calls message flows from terminal";
homepage = "https://github.com/irontec/sngrep";
2021-09-20 12:42:55 +01:00
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ jorise ];
};
}