at 24.05-pre 32 lines 769 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "sshocker"; 8 version = "0.3.4"; 9 10 src = fetchFromGitHub { 11 owner = "lima-vm"; 12 repo = "sshocker"; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-IDbGRQSLQlT4lt2bextGYB4fJfbpLhPx3JF1eYDJ6gw="; 15 }; 16 17 vendorHash = "sha256-kee5D80RjCVosts/Jd6WuvtiK/J5+79HsM5ITHs15xc="; 18 19 ldflags = [ 20 "-s" 21 "-w" 22 "-X=github.com/lima-vm/sshocker/pkg/version.Version=${version}" 23 ]; 24 25 meta = with lib; { 26 description = "Tool for SSH, reverse sshfs and port forwarder"; 27 homepage = "https://github.com/lima-vm/sshocker"; 28 changelog = "https://github.com/lima-vm/sshocker/releases/tag/v${version}"; 29 license = licenses.asl20; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}