diff options
author | Francesco Zanini <francesco@zanini.me> | 2021-05-26 23:33:32 +0200 |
---|---|---|
committer | Francesco Zanini <francesco@zanini.me> | 2022-01-24 09:31:55 +0100 |
commit | 20c764c2f85ac39b900d95cf98e599d98833f510 (patch) | |
tree | 3adbb42c309540a66cb96cf89ba4f0e92c8251f7 /pkgs/servers/sshportal | |
parent | 081f67a9c973d1155d186236afeaf9bee1bdfd83 (diff) | |
download | nixpkgs-20c764c2f85ac39b900d95cf98e599d98833f510.tar nixpkgs-20c764c2f85ac39b900d95cf98e599d98833f510.tar.gz nixpkgs-20c764c2f85ac39b900d95cf98e599d98833f510.tar.bz2 nixpkgs-20c764c2f85ac39b900d95cf98e599d98833f510.tar.lz nixpkgs-20c764c2f85ac39b900d95cf98e599d98833f510.tar.xz nixpkgs-20c764c2f85ac39b900d95cf98e599d98833f510.tar.zst nixpkgs-20c764c2f85ac39b900d95cf98e599d98833f510.zip |
sshportal: init at 1.18.5
Diffstat (limited to 'pkgs/servers/sshportal')
-rw-r--r-- | pkgs/servers/sshportal/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/servers/sshportal/default.nix b/pkgs/servers/sshportal/default.nix new file mode 100644 index 00000000000..73aec946fd9 --- /dev/null +++ b/pkgs/servers/sshportal/default.nix @@ -0,0 +1,24 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "sshportal"; + version = "1.18.5"; + + src = fetchFromGitHub { + owner = "moul"; + repo = "sshportal"; + rev = "v${version}"; + sha256 = "1d9zws7b6ng23vyk8di5jmnbsxz7kaj4z8wz43wkwr6b65c2h0bf"; + }; + + ldflags = [ "-X main.GitTag=${version}" "-X main.GitSha=${version}" "-s" "-w" ]; + + vendorSha256 = "0fnn455adw4bhz68dpqaii08wv7lifdd5kx95rpqxsi2sqrzr4br"; + + meta = with lib; { + description = "Simple, fun and transparent SSH (and telnet) bastion server"; + homepage = "https://manfred.life/sshportal"; + license = licenses.asl20; + maintainers = with maintainers; [ zaninime ]; + }; +} |