tcpreplay: init at 4.2.5 (#25891)
* tcpreplay: init at 4.2.5 * fix the license meta info * tcpreplay: use bsd3 license from lib.licenses
This commit is contained in:
parent
300b63c5ea
commit
d89aaca611
31
pkgs/tools/networking/tcpreplay/default.nix
Normal file
31
pkgs/tools/networking/tcpreplay/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl, libpcap, tcpdump }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tcpreplay-${version}";
|
||||
version = "4.2.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/appneta/tcpreplay/releases/download/v${version}/tcpreplay-${version}.tar.gz";
|
||||
sha256 = "1mw9r97blczm70rjf7p83sd1fxpzdzfvsbnjsc0m3nz16jz2c44l";
|
||||
};
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-local-libopts"
|
||||
"--disable-libopts-install"
|
||||
"--enable-dynamic-link"
|
||||
"--enable-shared"
|
||||
"--enable-tcpreplay-edit"
|
||||
"--with-libpcap=${libpcap}"
|
||||
"--with-tcpdump=${tcpdump}/bin"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A suite of utilities for editing and replaying network traffic";
|
||||
homepage = http://tcpreplay.appneta.com/;
|
||||
license = with licenses; [ bsd3 gpl3 ];
|
||||
maintainers = with maintainers; [ eleanor ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -4235,6 +4235,8 @@ with pkgs;
|
||||
|
||||
tcpkali = callPackage ../applications/networking/tcpkali { };
|
||||
|
||||
tcpreplay = callPackage ../tools/networking/tcpreplay { };
|
||||
|
||||
teamviewer = callPackage ../applications/networking/remote/teamviewer {
|
||||
stdenv = stdenv_32bit;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user