Files

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

43 lines
959 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
pname = "gate";
version = "0.53.0";
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "minekube";
repo = "gate";
tag = "v${version}";
hash = "sha256-wrvq2opwT4bbplUljasWmT+JF3/lS8AyzBSfyUB3nUw=";
};
vendorHash = "sha256-0NcfuCZHR4QHbMNqc+ilPouie+9k7FqOG/JdNX8uO8c=";
ldflags = [
"-s"
"-w"
];
excludedPackages = [ ".web" ];
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";
};
}