2024-06-05 15:53:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "gate";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "0.38.0";
|
2024-06-05 15:53:02 +00:00
|
|
|
in
|
|
|
|
buildGoModule {
|
|
|
|
inherit pname version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "minekube";
|
|
|
|
repo = "gate";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-07-01 15:47:52 +00:00
|
|
|
hash = "sha256-kiVyrmAXRDreGIBq9bJhscULjbPgoDVv8kw9APJ5TQk=";
|
2024-06-05 15:53:02 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
vendorHash = "sha256-JaBcGcqFqp9Il3FyU/QwThuggzPg8HWScvFHEAgtgBU=";
|
2024-06-05 15:53:02 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "High-Performance, Low-Memory, Lightweight, Extensible Minecraft Reverse Proxy";
|
|
|
|
longDescription = ''
|
|
|
|
Gate is an extensible, high performant & paralleled Minecraft proxy server
|
|
|
|
with scalability, flexibility & excellent server version support - written in Go
|
|
|
|
and ready for the cloud!
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/minekube/gate";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ XBagon ];
|
|
|
|
mainProgram = "gate";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|