zztgo: init at 0-unstable-2020-05-29 (#520737)

This commit is contained in:
Matt Sturgeon
2026-05-31 05:25:41 +00:00
committed by GitHub
2 changed files with 48 additions and 0 deletions
+6
View File
@@ -4567,6 +4567,12 @@
githubId = 53847249;
name = "Casey Avila";
};
castorNova2 = {
email = "solemnsquire@gmail.com";
github = "castorNova2";
githubId = 84083897;
name = "Nidhish Chauhan";
};
catap = {
email = "kirill@korins.ky";
github = "catap";
+42
View File
@@ -0,0 +1,42 @@
{
lib,
fetchFromGitHub,
buildGoModule,
makeWrapper,
}:
buildGoModule {
pname = "zztgo";
version = "0-unstable-2020-05-29";
__structuredAttrs = true;
strictDeps = true;
src = fetchFromGitHub {
owner = "benhoyt";
repo = "zztgo";
rev = "9edb1452d887852c5c68cae0a91a6227cd4ef7a9";
hash = "sha256-Wz9xAcsT27scuR78X6+17l0RExpmh0uTQUOcQ9lHIkI=";
};
vendorHash = "sha256-0hOXo7Ww34yI5yrz4CDMuFZjPj9CqtmWxQoc9aEBFOs=";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
install -Dm644 TOWN.ZZT $out/share/zztgo/TOWN.ZZT
install -Dm644 zzt.terminal $out/share/zztgo/zzt.terminal
wrapProgram $out/bin/zztgo \
--chdir $out/share/zztgo
'';
meta = {
description = "Port of ZZT to Go";
homepage = "https://github.com/benhoyt/zztgo";
mainProgram = "zztgo";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ castorNova2 ];
};
}