Unverified Commit cee37840 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

toluapp: fix build against cmake 4, add self to maintainers (#449345)

parents 9624435e 70de135c
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -25,11 +25,19 @@ stdenv.mkDerivation rec {
    ./headers.patch
  ];

  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail \
      'cmake_minimum_required ( VERSION 2.8 )' \
      'cmake_minimum_required ( VERSION 4.0 )'
  '';

  strictDeps = true;

  meta = with lib; {
    description = "Tool to integrate C/Cpp code with Lua";
    homepage = "http://www.codenix.com/~tolua/";
    license = licenses.mit;
    maintainers = [ ];
    maintainers = with lib.maintainers; [ colinsane ];
    mainProgram = "tolua++";
    platforms = with platforms; unix;
  };