udpreplay: init at 1.0.0

This commit is contained in:
Viktor Kronvall 2022-11-04 14:57:22 +09:00
parent 00d58bc626
commit f552429c80
3 changed files with 32 additions and 0 deletions

View file

@ -2744,6 +2744,12 @@
githubId = 40290417;
name = "Seb Blair";
};
considerate = {
email = "viktor.kronvall@gmail.com";
github = "considerate";
githubId = 217918;
name = "Viktor Kronvall";
};
copumpkin = {
email = "pumpkingod@gmail.com";
github = "copumpkin";

View file

@ -0,0 +1,24 @@
{ stdenv, cmake, libpcap, fetchFromGitHub, lib }:
stdenv.mkDerivation rec {
pname = "updreplay";
version = "1.0.0";
nativeBuildInputs = [ cmake ];
buildInputs = [ libpcap ];
src = fetchFromGitHub {
owner = "rigtorp";
repo = "udpreplay";
rev = "v${version}";
hash = "sha256-8cp1RyVBnq3vx2LPkAx7ktmdLo0bSq9UWlbb/DrJxpc=";
};
meta = with lib; {
description = "Replay UDP packets from a pcap file";
longDescription = ''
udpreplay is a lightweight alternative to tcpreplay for replaying UDP unicast and multicast streams from a pcap file.
'';
homepage = "https://github.com/rigtorp/udpreplay";
license = licenses.mit;
maintainers = [ maintainers.considerate ];
platforms = platforms.linux;
};
}

View file

@ -12286,6 +12286,8 @@ with pkgs;
udftools = callPackage ../tools/filesystems/udftools {};
udpreplay = callPackage ../tools/networking/udpreplay { };
udpt = callPackage ../servers/udpt { };
udptunnel = callPackage ../tools/networking/udptunnel { };