tocaia: init at 0.9.0

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2025-10-16 10:32:58 -03:00
parent 9d10d25c04
commit 94d2bea2af

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tocaia";
version = "0.9.0";
src = fetchFromGitHub {
owner = "manipuladordedados";
repo = "tocaia";
tag = finalAttrs.version;
hash = "sha256-Np+Awn5KGoAbeoUEkcAeVwnNCqI2Iy+19Zj1RkNfgXU=";
};
makeFlags = [ "PREFIX=$(out)" ];
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = gitUpdater { };
meta = {
description = "Portable TUI Gopher client written in C89 for POSIX systems";
homepage = "https://github.com/manipuladordedados/tocaia";
changelog = "https://github.com/manipuladordedados/tocaia/releases/tag/${finalAttrs.version}";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ manipuladordedados ];
mainProgram = "tocaia";
};
})