trzsz-ssh: init at 0.1.22
This commit is contained in:
parent
30d6978d25
commit
de5e0637d5
42
pkgs/by-name/tr/trzsz-ssh/package.nix
Normal file
42
pkgs/by-name/tr/trzsz-ssh/package.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "trzsz-ssh";
|
||||
version = "0.1.22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trzsz";
|
||||
repo = "trzsz-ssh";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-VvPdWRP+lrhho+Bk5rT9pktEvKe01512WoDfAu5d868=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-EllXxDyWI4Dy5E6KnzYFxuYDQcdk9+01v5svpARZU44=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "SSH client designed as a drop-in replacement for the openssh client";
|
||||
homepage = "https://github.com/trzsz/trzsz-ssh";
|
||||
changelog = "https://github.com/trzsz/trzsz-ssh/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ rewine ];
|
||||
mainProgram = "trzsz-ssh";
|
||||
};
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user