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