mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
ggh: init at 0.1.4
This commit is contained in:
parent
231f9b2773
commit
6b8731509e
1 changed files with 38 additions and 0 deletions
38
pkgs/by-name/gg/ggh/package.nix
Normal file
38
pkgs/by-name/gg/ggh/package.nix
Normal 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";
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue