nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 724 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "sshportal"; 9 version = "1.19.5"; 10 11 src = fetchFromGitHub { 12 owner = "moul"; 13 repo = "sshportal"; 14 rev = "v${version}"; 15 sha256 = "sha256-XJ8Hgc8YoJaH2gYOvoYhcpY4qgasgyr4M+ecKJ/RXTs="; 16 }; 17 18 ldflags = [ 19 "-X main.GitTag=${version}" 20 "-X main.GitSha=${version}" 21 "-s" 22 "-w" 23 ]; 24 25 vendorHash = "sha256-4dMZwkLHS14OGQVPq5VaT/aEpHEJ/4b2P6q3/WiDicM="; 26 27 meta = { 28 description = "Simple, fun and transparent SSH (and telnet) bastion server"; 29 homepage = "https://manfred.life/sshportal"; 30 license = lib.licenses.asl20; 31 maintainers = with lib.maintainers; [ zaninime ]; 32 mainProgram = "sshportal"; 33 }; 34}