Unverified Commit 02c87eac authored by Rafael Ieda's avatar Rafael Ieda
Browse files

nsplist: fix build with cmake4

parent 113dc6be
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -27,6 +27,11 @@ stdenv.mkDerivation {
    flex -o src/NSPlistLexer.cpp <(tail --lines=+17 src/NSPlistLexer.l)
  '';

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
  '';

  meta = with lib; {
    maintainers = with maintainers; [ matthewbauer ];
    description = "Parses .plist files";