resetti: init at 0.7.0 (#453390)

This commit is contained in:
Marcin Serwin
2026-02-22 08:24:07 +00:00
committed by GitHub
+41
View File
@@ -0,0 +1,41 @@
{
buildGoModule,
fetchFromGitHub,
lib,
versionCheckHook,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "resetti";
version = "0.7.0";
src = fetchFromGitHub {
owner = "tesselslate";
repo = "resetti";
tag = "v${finalAttrs.version}";
hash = "sha256-H4LkXTjXCuOUB9x24lEc4ofCKkAn1Eac2zMPIAgxkSE=";
};
vendorHash = "sha256-lhcCN5r1TSB95Y0pEoKAvftR0DMxtII3g+YOKT8I1qk=";
ldflags = [ "-s" ];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckKeepEnvironment = [ "XDG_DATA_HOME" ];
preVersionCheck = "XDG_DATA_HOME=/tmp";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Utility macros for Minecraft speedrunning";
homepage = "https://github.com/tesselslate/resetti";
changelog = "https://github.com/tesselslate/resetti/releases/tag/${finalAttrs.src.tag}";
platforms = lib.platforms.linux;
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ jess ];
mainProgram = "resetti";
};
})