mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
38 lines
921 B
Nix
38 lines
921 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
let
|
|
pname = "gate";
|
|
version = "0.39.2";
|
|
in
|
|
buildGoModule {
|
|
inherit pname version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "minekube";
|
|
repo = "gate";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-ocstveux4nSev6jUx0niGxjKk0ljEhhagmHpUKncrQY=";
|
|
};
|
|
|
|
vendorHash = "sha256-e+XIftRRP0Dig6nIRdxE1x60RU8oXChTyyLIEGOQ5Yc=";
|
|
|
|
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";
|
|
};
|
|
}
|
|
|