Merge pull request #199467 from considerate/udpreplay

udpreplay: init at 1.0.0
This commit is contained in:
Christian Kögler 2022-11-10 07:06:02 +01:00 committed by GitHub
commit 774dcada30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View File

@ -2773,6 +2773,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

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