1 { stdenv, cmake, libpcap, fetchFromGitHub, lib }:
2 stdenv.mkDerivation rec {
5 nativeBuildInputs = [ cmake ];
6 buildInputs = [ libpcap ];
7 src = fetchFromGitHub {
11 hash = "sha256-kF9a3pjQbFKf25NKyK7uSq0AAO6JK7QeChLhm9Z3wEA=";
15 description = "Replay UDP packets from a pcap file";
17 udpreplay is a lightweight alternative to tcpreplay for replaying UDP unicast and multicast streams from a pcap file.
19 homepage = "https://github.com/rigtorp/udpreplay";
20 license = licenses.mit;
21 maintainers = [ maintainers.considerate ];
22 platforms = platforms.linux;
23 mainProgram = "udpreplay";