34 lines
687 B
Nix
34 lines
687 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule {
|
|
pname = "sshpiper";
|
|
version = "unstable-2024";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tg123";
|
|
repo = "sshpiper";
|
|
rev = "e5c5b904cfa57f7d60e37cb38cdb0bbcaadb022e";
|
|
hash = "sha256-8Lqf7pCcAWAgz7tclKiV0DyHhbaaBule6/X30Fzm8DY=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
vendorHash = "sha256-6FU1r6vY6AorbP5z+C3zJpHQzpqzkzK9iQFnxDmYv8c=";
|
|
|
|
subPackages = [
|
|
"cmd/sshpiperd"
|
|
"plugin/yaml"
|
|
];
|
|
|
|
tags = [ "full" ];
|
|
|
|
meta = with lib; {
|
|
description = "SSH reverse proxy / multiplexer";
|
|
homepage = "https://github.com/tg123/sshpiper";
|
|
license = licenses.mit;
|
|
mainProgram = "sshpiperd";
|
|
};
|
|
}
|