commit 3878275ff3afab66530f17f5b99ec6f89b65b148 parent 6fe39f814e624b3255a05f4ddc0ec064b2fb9bfa Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Tue, 4 Jun 2024 20:51:51 +0400 Up Diffstat:
M | pkgs/gemini/gmnigit/default.nix | | | 7 | ++++++- |
M | pkgs/misc/ionscale/default.nix | | | 14 | +++++++++----- |
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/pkgs/gemini/gmnigit/default.nix b/pkgs/gemini/gmnigit/default.nix @@ -17,9 +17,14 @@ buildGoModule rec { vendorHash = "sha256-/UIfgwPFZxdnSywA7ysyVIFQXTRud/nlkOdzGEESEbY="; + ldflags = [ + "-s" + "-w" + ]; + meta = { description = "Static git gemini viewer"; - inherit (src.meta) homepage; + homepage = "https://git.sr.ht/~kornellapacz/gmnigit"; license = lib.licenses.mit; maintainers = [ lib.maintainers.sikmir ]; mainProgram = "gmnigit"; diff --git a/pkgs/misc/ionscale/default.nix b/pkgs/misc/ionscale/default.nix @@ -6,24 +6,28 @@ buildGoModule rec { pname = "ionscale"; - version = "0.15.0"; + version = "0.16.0"; src = fetchFromGitHub { owner = "jsiebens"; repo = "ionscale"; rev = "v${version}"; - hash = "sha256-D6w5mHjlz+P+h0Q/8kk0PIDyyDfQxPsVka13ZTTDuv0="; + hash = "sha256-OXCxdXkBpbb6qQUGp70OOhi6Ydaw+EXlVTw8QsCjAGQ="; }; - vendorHash = "sha256-YULdxUTzI+lwy9/wrSSc/rv3vwBkGkNc0b9GyUc9jQc="; + vendorHash = "sha256-UzxfIaZ2tbCt0g4WtH0gnSw8HGFI+07JOe4HUdPQmqs="; - ldflags = [ "-X github.com/jsiebens/ionscale/internal/version.Version=${version}" ]; + ldflags = [ + "-s" + "-w" + "-X github.com/jsiebens/ionscale/internal/version.Version=${version}" + ]; doCheck = false; meta = { description = "A lightweight implementation of a Tailscale control server"; - inherit (src.meta) homepage; + homepage = "https://jsiebens.github.io/ionscale/"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.sikmir ]; mainProgram = "ionscale";