ttylog: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-20 10:02:25 -03:00
parent fac5e90ad9
commit 2a1b3cb22b
+5
View File
@@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
homepage = "https://ttylog.sourceforge.net";
description = "Simple serial port logger";