1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-XJ8Hgc8YoJaH2gYOvoYhcpY4qgasgyr4M+ecKJ/RXTs=";
14 ldflags = [ "-X main.GitTag=${version}" "-X main.GitSha=${version}" "-s" "-w" ];
16 vendorHash = "sha256-4dMZwkLHS14OGQVPq5VaT/aEpHEJ/4b2P6q3/WiDicM=";
19 description = "Simple, fun and transparent SSH (and telnet) bastion server";
20 homepage = "https://manfred.life/sshportal";
21 license = licenses.asl20;
22 maintainers = with maintainers; [ zaninime ];
23 mainProgram = "sshportal";