udpreplay: fix build with cmake4 (#452745)

This commit is contained in:
Yohann Boniface
2025-10-23 21:09:29 +00:00
committed by GitHub
+9
View File
@@ -3,6 +3,7 @@
cmake,
libpcap,
fetchFromGitHub,
fetchpatch,
lib,
}:
stdenv.mkDerivation rec {
@@ -17,6 +18,14 @@ stdenv.mkDerivation rec {
hash = "sha256-kF9a3pjQbFKf25NKyK7uSq0AAO6JK7QeChLhm9Z3wEA=";
};
patches = [
# Increase minimum CMake required to 3.5
(fetchpatch {
url = "https://github.com/rigtorp/udpreplay/commit/52bd71d6c004cd69899dbe8d529f3ce0a8154e7f.patch?full_index=1";
hash = "sha256-nWtC77SNpNDDkEli5loc8eVJ1ll0AdgEKQ4pV84JoSk=";
})
];
meta = with lib; {
description = "Replay UDP packets from a pcap file";
longDescription = ''