python313Packages.publicsuffixlist: 1.0.2.20250122 -> 1.0.2.20250124 (#376319)
[NixPkgs.git] / pkgs / by-name / ss / sshportal / package.nix
blob850a7739eb66768e5661952008ee28edff5769f8
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "sshportal";
9   version = "1.19.5";
11   src = fetchFromGitHub {
12     owner = "moul";
13     repo = "sshportal";
14     rev = "v${version}";
15     sha256 = "sha256-XJ8Hgc8YoJaH2gYOvoYhcpY4qgasgyr4M+ecKJ/RXTs=";
16   };
18   ldflags = [
19     "-X main.GitTag=${version}"
20     "-X main.GitSha=${version}"
21     "-s"
22     "-w"
23   ];
25   vendorHash = "sha256-4dMZwkLHS14OGQVPq5VaT/aEpHEJ/4b2P6q3/WiDicM=";
27   meta = with lib; {
28     description = "Simple, fun and transparent SSH (and telnet) bastion server";
29     homepage = "https://manfred.life/sshportal";
30     license = licenses.asl20;
31     maintainers = with maintainers; [ zaninime ];
32     mainProgram = "sshportal";
33   };