Merge pull request #154324 from zaninime/sshportal
commit4794b2f0472c6c404e8edae39b1d81afe3f46fa6
authorSandro <sandro.jaeckel@gmail.com>
dateThu 27 Jan 2022, 14:18 (5 years ago)
parent90087b320c764c
pkgs/servers/sshportal/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ lib, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "sshportal";
5+ version = "1.18.5";
6+
7+ src = fetchFromGitHub {
8+ owner = "moul";
9+ repo = "sshportal";
10+ rev = "v${version}";
11+ sha256 = "1d9zws7b6ng23vyk8di5jmnbsxz7kaj4z8wz43wkwr6b65c2h0bf";
12+ };
13+
14+ ldflags = [ "-X main.GitTag=${version}" "-X main.GitSha=${version}" "-s" "-w" ];
15+
16+ vendorSha256 = "0fnn455adw4bhz68dpqaii08wv7lifdd5kx95rpqxsi2sqrzr4br";
17+
18+ meta = with lib; {
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+ };
24+}
pkgs/top-level/all-packages.nix+2
@@ -33774,6 +33774,8 @@ with pkgs;
3377433774
3377533775 vnote = libsForQt5.callPackage ../applications/office/vnote { };
3377633776
33777+ sshportal = callPackage ../servers/sshportal { };
33778+
3377733779 ssh-audit = callPackage ../tools/security/ssh-audit { };
3377833780
3377933781 ssh-tools = callPackage ../applications/misc/ssh-tools { };