nixpkgs/pkgs/servers/sshportal/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
701 B
Nix
Raw Normal View History

2021-05-26 23:33:32 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "sshportal";
2023-05-24 08:24:26 +02:00
version = "1.19.5";
2021-05-26 23:33:32 +02:00
src = fetchFromGitHub {
owner = "moul";
repo = "sshportal";
rev = "v${version}";
2023-05-24 08:24:26 +02:00
sha256 = "sha256-XJ8Hgc8YoJaH2gYOvoYhcpY4qgasgyr4M+ecKJ/RXTs=";
2021-05-26 23:33:32 +02:00
};
ldflags = [ "-X main.GitTag=${version}" "-X main.GitSha=${version}" "-s" "-w" ];
2023-05-24 08:24:26 +02:00
vendorHash = "sha256-4dMZwkLHS14OGQVPq5VaT/aEpHEJ/4b2P6q3/WiDicM=";
2021-05-26 23:33:32 +02:00
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 ];
2023-11-23 22:09:35 +01:00
mainProgram = "sshportal";
2021-05-26 23:33:32 +02:00
};
}