{ lib, buildGoModule, fetchFromGitHub, ... }: buildGoModule rec { pname = "tssh"; version = "0.1.26"; src = fetchFromGitHub { owner = "trzsz"; repo = "trzsz-ssh"; rev = "v${version}"; hash = "sha256-96xISHU0/C473Ohi3obsO1ihkxa0Q7Z39JIKzt5R7iM="; }; vendorHash = "sha256-t/uJ+YyemTsDbuO+7VlOjFY8DvizkSZCE6uloA4mNqY="; subPackages = [ "cmd/tssh" ]; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; meta = with lib; { description = "trzsz-ssh (tssh): Highly OpenSSH-compatible client with extended features"; homepage = "https://trzsz.github.io/tssh"; license = licenses.mit; mainProgram = "tssh"; }; }