about summary refs log tree commit diff
path: root/pkgs/by-name/ga
diff options
context:
space:
mode:
authorXBagon <xbagon@outlook.de>2024-05-04 19:11:19 +0200
committerXBagon <xbagon@outlook.de>2024-05-13 13:51:37 +0200
commit615655491933397553976b7ac92c74d019c56b40 (patch)
tree3d9189ccd69998efc58b2ba171a1ad024a670573 /pkgs/by-name/ga
parent822aa259b4f927d4cc9602c52c0d96ea144e4f0a (diff)
gate: init at 0.36.7
gate: adjust according to suggestions

gate: shorten description and add longDescription

gate: converted longDescription into multi-line string
Diffstat (limited to 'pkgs/by-name/ga')
-rw-r--r--pkgs/by-name/ga/gate/package.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/by-name/ga/gate/package.nix b/pkgs/by-name/ga/gate/package.nix
new file mode 100644
index 0000000000000..454af42d9bae7
--- /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";
+  };
+}
+