From 6371407bdea8552352bd2e45fc84db18f02ba8ff Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 30 Dec 2025 11:22:32 +0900 Subject: [PATCH] gnu: Add luanti-chatcmdbuilder. * gnu/packages/luanti.scm (luanti-chatcmdbuilder): New variable. Change-Id: If30dc64220463ff5ae1bf5b861422dfe53ab8f66 --- gnu/packages/luanti.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/luanti.scm b/gnu/packages/luanti.scm index 91f9ff4674b..de0241aecd0 100644 --- a/gnu/packages/luanti.scm +++ b/gnu/packages/luanti.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2020, 2021, 2022, 2025 Liliana Marie Prikler ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2024 Jan Wielkiewicz +;;; Copyright © 2025 Maxim Cournoyer ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it @@ -841,6 +842,30 @@ advtrains up to version 2.2.1.") (license (list license:cc-by-sa3.0 license:agpl3+)) (properties `((upstream-name . "orwell/basic_trains"))))) +(define-public luanti-chatcmdbuilder + ;; The last tag is old and has issues. + (let ((commit "be3906e1fbd21f5c3149309c831b1a92769d3f93") + (revision "0")) + (package + (name "luanti-chatcmdbuilder") + (version (git-version "0.2.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rubenwardy/ChatCmdBuilder") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b9jl9pb5cc0rz9vv5r1kcmzch3nkbcx6xzkwii7dc7xfz9dx895")))) + (build-system luanti-mod-build-system) + (home-page "https://content.luanti.org/packages/rubenwardy/lib_chatcmdbuilder/") + (synopsis "Luanti library to create complex chat commands") + (description "ChatCmdBuilder is a Luanti library to ease + creating complex chat commands with no pattern matching.") + (license license:expat) + (properties `((upstream-name . "rubenwardy/lib_chatcmdbuilder")))))) + (define-public luanti-oneblock (package (name "luanti-oneblock")