Unverified Commit 774dcada authored by Christian Kögler's avatar Christian Kögler Committed by GitHub
Browse files

Merge pull request #199467 from considerate/udpreplay

udpreplay: init at 1.0.0
parents d01cb18b f552429c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+24 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };