My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/servers/sshportal/default.nix

24 lines
672 B

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "sshportal";
version = "1.19.3";
src = fetchFromGitHub {
owner = "moul";
repo = "sshportal";
rev = "v${version}";
sha256 = "sha256-8+UHG4xTH9h1IvMoOY7YHPClk4t2vWSBOUnYU6+mynQ=";
};
ldflags = [ "-X main.GitTag=${version}" "-X main.GitSha=${version}" "-s" "-w" ];
vendorSha256 = "sha256-swDoQeO44fkpS2JNUAXaj3ZVjjzhoEr34YZ1/ArnLBk=";
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 ];
};
}