nixpkgs/pkgs/servers/sshportal/default.nix

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

25 lines
670 B
Nix
Raw Normal View History

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