From 1c1407fe792ae17daf4c4e4d870a82fdc1338a62 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 30 Dec 2025 11:51:38 +0900 Subject: [PATCH] gnu: Add luanti-whitelist. * gnu/packages/luanti.scm (luanti-whitelist): New variable. Change-Id: Ifdb37d3a002fc8c66b01aa26f40f74dee220ea6e --- gnu/packages/luanti.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/luanti.scm b/gnu/packages/luanti.scm index de0241aecd0ef98f32bcf2c8aba357ee9fbf4491..717b710c2fba7fe054bfb4464fac2387d108e76f 100644 --- a/gnu/packages/luanti.scm +++ b/gnu/packages/luanti.scm @@ -889,6 +889,30 @@ block or item from the oneblock to expand the island!") (license license:gpl3+) (properties `((upstream-name . "NO11/oneblock"))))) +(define-public luanti-whitelist + (package + (name "luanti-whitelist") + (version "1.2.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/zughy-friends-minetest/whitelist") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18nkph1iv5awri5i4rk9m14s0wrxsg1wjjf7gnznjrma5kffpzrq")))) + (build-system luanti-mod-build-system) + (propagated-inputs (list luanti-chatcmdbuilder)) + (home-page "https://content.luanti.org/packages/Zughy/whitelist/") + (synopsis "Luanti mod to manage who can join a server") + (description "This package provides the @code{whitelist} Luanti mod, + which can be used to allow only specific players to join a Luanti server.") + ;; This should probably be agpl3+ (see: + ;; ). + (license license:agpl3) + (properties `((upstream-name . "Zughy/whitelist"))))) + (define-public luanti-wielded-light (package (name "luanti-wielded-light")