From 822aa259b4f927d4cc9602c52c0d96ea144e4f0a Mon Sep 17 00:00:00 2001 From: XBagon Date: Sat, 4 May 2024 19:04:28 +0200 Subject: [PATCH 1/2] maintainers: add XBagon maintainers: add email to XBagon --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ff48ec64b1ed..2b2bdec82f10 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -21908,6 +21908,12 @@ githubId = 474343; name = "Xavier Zwirtz"; }; + XBagon = { + name = "XBagon"; + email = "xbagon@outlook.de"; + github = "XBagon"; + githubId = 1523292; + }; xbreak = { email = "xbreak@alphaware.se"; github = "xbreak"; From 615655491933397553976b7ac92c74d019c56b40 Mon Sep 17 00:00:00 2001 From: XBagon Date: Sat, 4 May 2024 19:11:19 +0200 Subject: [PATCH 2/2] gate: init at 0.36.7 gate: adjust according to suggestions gate: shorten description and add longDescription gate: converted longDescription into multi-line string --- pkgs/by-name/ga/gate/package.nix | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/ga/gate/package.nix diff --git a/pkgs/by-name/ga/gate/package.nix b/pkgs/by-name/ga/gate/package.nix new file mode 100644 index 000000000000..454af42d9bae --- /dev/null +++ b/pkgs/by-name/ga/gate/package.nix @@ -0,0 +1,37 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +let + pname = "gate"; + version = "0.36.7"; +in +buildGoModule { + inherit pname version; + + src = fetchFromGitHub { + owner = "minekube"; + repo = "gate"; + rev = "refs/tags/v${version}"; + hash = "sha256-WHxpx20O/HuCWqbY4zTxcjyIhW3+FQtTz5sUGAda71g="; + }; + + vendorHash = "sha256-dswNJQWqN+u/mnpbj9se2j9uEi0ewNTXVlN3WnNbcyg="; + + 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"; + }; +} +