Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

trzsz-ssh: init at 0.1.22

rewine de5e0637 30d6978d

+42
+42
pkgs/by-name/tr/trzsz-ssh/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + versionCheckHook, 6 + nix-update-script, 7 + }: 8 + 9 + buildGoModule (finalAttrs: { 10 + pname = "trzsz-ssh"; 11 + version = "0.1.22"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "trzsz"; 15 + repo = "trzsz-ssh"; 16 + tag = "v${finalAttrs.version}"; 17 + hash = "sha256-VvPdWRP+lrhho+Bk5rT9pktEvKe01512WoDfAu5d868="; 18 + }; 19 + 20 + vendorHash = "sha256-EllXxDyWI4Dy5E6KnzYFxuYDQcdk9+01v5svpARZU44="; 21 + 22 + ldflags = [ 23 + "-s" 24 + "-w" 25 + ]; 26 + 27 + nativeCheckInputs = [ 28 + versionCheckHook 29 + ]; 30 + versionCheckProgramArg = "--version"; 31 + 32 + passthru.updateScript = nix-update-script { }; 33 + 34 + meta = { 35 + description = "SSH client designed as a drop-in replacement for the openssh client"; 36 + homepage = "https://github.com/trzsz/trzsz-ssh"; 37 + changelog = "https://github.com/trzsz/trzsz-ssh/releases/tag/${finalAttrs.src.tag}"; 38 + license = lib.licenses.mit; 39 + maintainers = with lib.maintainers; [ rewine ]; 40 + mainProgram = "trzsz-ssh"; 41 + }; 42 + })