nixpkgs/pkgs/tools/networking/udpreplay/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
788 B
Nix
Raw Normal View History

2022-11-04 06:57:22 +01:00
{ stdenv, cmake, libpcap, fetchFromGitHub, lib }:
stdenv.mkDerivation rec {
pname = "updreplay";
2023-04-07 05:27:26 +02:00
version = "1.1.0";
2022-11-04 06:57:22 +01:00
nativeBuildInputs = [ cmake ];
buildInputs = [ libpcap ];
src = fetchFromGitHub {
owner = "rigtorp";
repo = "udpreplay";
rev = "v${version}";
2023-04-07 05:27:26 +02:00
hash = "sha256-kF9a3pjQbFKf25NKyK7uSq0AAO6JK7QeChLhm9Z3wEA=";
2022-11-04 06:57:22 +01:00
};
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;
2024-02-11 03:19:15 +01:00
mainProgram = "udpreplay";
2022-11-04 06:57:22 +01:00
};
}