benhsm-minesweeper: init at 0.3.1

This commit is contained in:
Kamil Monicz
2025-09-27 15:08:01 +02:00
parent 333add93db
commit c0f2682bb4
@@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "benhsm-minesweeper";
version = "0.3.1";
src = fetchFromGitHub {
owner = "benhsm";
repo = "minesweeper";
tag = "v${finalAttrs.version}";
hash = "sha256-4ahevo/dogjcJ6GRqVZKYapy1x16F+U6vEsgpt2RdiE=";
};
vendorHash = "sha256-UvvoL7Us201B13M4vwOZEhSB0slAzXCs+9wzJIDictQ=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Simple terminal-based implementation of Minesweeper";
homepage = "https://github.com/benhsm/minesweeper";
changelog = "https://github.com/benhsm/minesweeper/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
mainProgram = "minesweeper";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ Zaczero ];
};
})