nixpkgs/pkgs/by-name/ga/gate/package.nix
2024-08-02 21:36:05 +00:00

38 lines
921 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
let
pname = "gate";
version = "0.38.2";
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "minekube";
repo = "gate";
rev = "refs/tags/v${version}";
hash = "sha256-lNZRDSBaEE4b3pJ1oOf9yd8l+lFJmnhyy4TahBlQDv0=";
};
vendorHash = "sha256-H8mVlwaEux6PSHfVwFpfa+efmWApCKl6eYx6vA57Hfc=";
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";
};
}