argonaut: init at 2.14.1

argonaut: init at 2.12.0
This commit is contained in:
ehrenschwan
2026-03-07 22:53:51 +01:00
committed by Sandro Jäckel
parent 60f96eb344
commit bfdb4e398c
+53
View File
@@ -0,0 +1,53 @@
{
buildGoModule,
lib,
fetchFromGitHub,
testers,
versionCheckHook,
}:
buildGoModule (finalAttrs: {
pname = "argonaut";
version = "2.14.1";
src = fetchFromGitHub {
owner = "darksworm";
repo = "argonaut";
tag = "v${finalAttrs.version}";
hash = "sha256-vD7XDgENQWexNNMq41W0eC0snUA+JUZeXIBTCH1lbks=";
};
vendorHash = "sha256-xln/WmZbi0+rHqMMHRgt0ar/EaBDNscCsd/NckJZnMw=";
proxyVendor = true;
subPackages = [ "cmd/app" ];
ldflags = [
"-s"
"-w"
"-X main.appVersion=${finalAttrs.version}"
"-X main.commit=${finalAttrs.version}"
"-X main.buildDate=1970-01-01T00:00:00Z"
];
doCheck = true;
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
postInstall = ''
mv $out/bin/app $out/bin/argonaut
'';
meta = {
description = "Keyboard-first terminal UI for Argo CD";
homepage = "https://github.com/darksworm/argonaut";
changelog = "https://github.com/darksworm/argonaut/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Only;
mainProgram = "argonaut";
maintainers = with lib.maintainers; [
ehrenschwan-gh
];
};
})