From 657b23413aef313360f12554612999f4f85e9b5b Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 7 Oct 2025 03:35:27 +0000 Subject: [PATCH 1/2] toluapp: fix build against cmake 4 --- pkgs/development/tools/toluapp/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/tools/toluapp/default.nix b/pkgs/development/tools/toluapp/default.nix index fbe1416808f7..9d3274df3a54 100644 --- a/pkgs/development/tools/toluapp/default.nix +++ b/pkgs/development/tools/toluapp/default.nix @@ -25,6 +25,12 @@ stdenv.mkDerivation rec { ./headers.patch ]; + postPatch = '' + substituteInPlace CMakeLists.txt --replace-fail \ + 'cmake_minimum_required ( VERSION 2.8 )' \ + 'cmake_minimum_required ( VERSION 4.0 )' + ''; + meta = with lib; { description = "Tool to integrate C/Cpp code with Lua"; homepage = "http://www.codenix.com/~tolua/"; From 70de135c03c6bd0c5d0fe1a6fe36205977d9cf6d Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 7 Oct 2025 03:37:50 +0000 Subject: [PATCH 2/2] toluapp: enable strictDeps, add `colinsane` to maintainers --- pkgs/development/tools/toluapp/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/toluapp/default.nix b/pkgs/development/tools/toluapp/default.nix index 9d3274df3a54..78eab8d64644 100644 --- a/pkgs/development/tools/toluapp/default.nix +++ b/pkgs/development/tools/toluapp/default.nix @@ -31,11 +31,13 @@ stdenv.mkDerivation rec { '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; };