minetest: add update script

This commit is contained in:
jopejoe1 2024-05-20 11:26:20 +02:00
parent bce9b8a3b4
commit 3907a56673

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, gitUpdater
, cmake , cmake
, irrlichtmt , irrlichtmt
, coreutils , coreutils
@ -128,6 +129,10 @@ stdenv.mkDerivation (finalAttrs: {
mv $out/minetest.app $out/Applications mv $out/minetest.app $out/Applications
''; '';
passthru.updateScript = gitUpdater {
ignoredVersions = "^[^.]+$|.*-android$";
};
meta = with lib; { meta = with lib; {
homepage = "https://minetest.net/"; homepage = "https://minetest.net/";
description = "Infinite-world block sandbox game"; description = "Infinite-world block sandbox game";