ggh: init at 0.1.4

This commit is contained in:
Nurali Aslanbekov 2025-04-08 17:19:05 +05:00
parent 231f9b2773
commit 6b8731509e

View file

@ -0,0 +1,38 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "ggh";
version = "0.1.4";
src = fetchFromGitHub {
owner = "byawitz";
repo = "ggh";
tag = "v${finalAttrs.version}";
hash = "sha256-itNx/AcLUQCH99ZCOXiXPWNg3mx+UhHepidqmzPY8Oc=";
};
vendorHash = "sha256-WPPjpxCD3WA3E7lx5+DPvG31p8djera5xRn980eaJT8=";
ldflags = [
"-s"
"-w"
"-X main.version=v${finalAttrs.version}"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Recall your SSH sessions (also search your SSH config file)";
homepage = "https://github.com/byawitz/ggh";
changelog = "https://github.com/byawitz/ggh/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.ilarvne ];
platforms = lib.platforms.unix;
mainProgram = "ggh";
};
})