tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
trzsz-ssh: init at 0.1.22
rewine
7 months ago
de5e0637
30d6978d
+42
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
tr
trzsz-ssh
package.nix
+42
pkgs/by-name/tr/trzsz-ssh/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
buildGoModule,
4
4
+
fetchFromGitHub,
5
5
+
versionCheckHook,
6
6
+
nix-update-script,
7
7
+
}:
8
8
+
9
9
+
buildGoModule (finalAttrs: {
10
10
+
pname = "trzsz-ssh";
11
11
+
version = "0.1.22";
12
12
+
13
13
+
src = fetchFromGitHub {
14
14
+
owner = "trzsz";
15
15
+
repo = "trzsz-ssh";
16
16
+
tag = "v${finalAttrs.version}";
17
17
+
hash = "sha256-VvPdWRP+lrhho+Bk5rT9pktEvKe01512WoDfAu5d868=";
18
18
+
};
19
19
+
20
20
+
vendorHash = "sha256-EllXxDyWI4Dy5E6KnzYFxuYDQcdk9+01v5svpARZU44=";
21
21
+
22
22
+
ldflags = [
23
23
+
"-s"
24
24
+
"-w"
25
25
+
];
26
26
+
27
27
+
nativeCheckInputs = [
28
28
+
versionCheckHook
29
29
+
];
30
30
+
versionCheckProgramArg = "--version";
31
31
+
32
32
+
passthru.updateScript = nix-update-script { };
33
33
+
34
34
+
meta = {
35
35
+
description = "SSH client designed as a drop-in replacement for the openssh client";
36
36
+
homepage = "https://github.com/trzsz/trzsz-ssh";
37
37
+
changelog = "https://github.com/trzsz/trzsz-ssh/releases/tag/${finalAttrs.src.tag}";
38
38
+
license = lib.licenses.mit;
39
39
+
maintainers = with lib.maintainers; [ rewine ];
40
40
+
mainProgram = "trzsz-ssh";
41
41
+
};
42
42
+
})