benhsm-minesweeper: init at 0.3.1 (#446639)

authored by

Yohann Boniface and committed by
GitHub
e843169d 60160646

+32
+32
pkgs/by-name/be/benhsm-minesweeper/package.nix
···
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + }: 7 + 8 + buildGoModule (finalAttrs: { 9 + pname = "benhsm-minesweeper"; 10 + version = "0.3.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "benhsm"; 14 + repo = "minesweeper"; 15 + tag = "v${finalAttrs.version}"; 16 + hash = "sha256-4ahevo/dogjcJ6GRqVZKYapy1x16F+U6vEsgpt2RdiE="; 17 + }; 18 + 19 + vendorHash = "sha256-UvvoL7Us201B13M4vwOZEhSB0slAzXCs+9wzJIDictQ="; 20 + 21 + passthru.updateScript = nix-update-script { }; 22 + 23 + meta = { 24 + description = "Simple terminal-based implementation of Minesweeper"; 25 + homepage = "https://github.com/benhsm/minesweeper"; 26 + changelog = "https://github.com/benhsm/minesweeper/releases/tag/v${finalAttrs.version}"; 27 + license = lib.licenses.mit; 28 + mainProgram = "minesweeper"; 29 + platforms = lib.platforms.unix; 30 + maintainers = with lib.maintainers; [ Zaczero ]; 31 + }; 32 + })