about summary refs log tree commit diff
path: root/pkgs/by-name/ga
diff options
context:
space:
mode:
authorAleksana <me@aleksana.moe>2024-05-19 17:23:57 +0800
committerGitHub <noreply@github.com>2024-05-19 17:23:57 +0800
commit5df27ce02f0948ede875f4cf0125635845efe312 (patch)
treec4964c2abc58dcd6d03082a2ed1215397639b32e /pkgs/by-name/ga
parenta03b29bae2bab65bc0fc11d1d3e5d292de8c6826 (diff)
parent615655491933397553976b7ac92c74d019c56b40 (diff)
Merge pull request #309073 from XBagon/create-minekube-gate
gate: init at 0.36.7
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";
+  };
+}
+