mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #154324 from zaninime/sshportal
This commit is contained in:
commit
4794b2f047
24
pkgs/servers/sshportal/default.nix
Normal file
24
pkgs/servers/sshportal/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -33774,6 +33774,8 @@ with pkgs;
|
||||
|
||||
vnote = libsForQt5.callPackage ../applications/office/vnote { };
|
||||
|
||||
sshportal = callPackage ../servers/sshportal { };
|
||||
|
||||
ssh-audit = callPackage ../tools/security/ssh-audit { };
|
||||
|
||||
ssh-tools = callPackage ../applications/misc/ssh-tools { };
|
||||
|
Loading…
Reference in New Issue
Block a user