Unverified Commit 2a1b3cb2 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

ttylog: fix build with cmake4

parent fac5e90a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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";