From 16544c2cf57f4362d5e53eca9dc7f482680b12bb Mon Sep 17 00:00:00 2001 From: oo-infty Date: Sat, 13 Apr 2024 18:55:47 +0800 Subject: [PATCH 1/2] ugm: use nix-update-script --- pkgs/by-name/ug/ugm/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ug/ugm/package.nix b/pkgs/by-name/ug/ugm/package.nix index a8c1726327c8..23b4f193035d 100644 --- a/pkgs/by-name/ug/ugm/package.nix +++ b/pkgs/by-name/ug/ugm/package.nix @@ -2,6 +2,7 @@ , buildGoModule , fetchFromGitHub , makeWrapper +, nix-update-script }: buildGoModule rec { @@ -25,6 +26,8 @@ buildGoModule rec { --set RUNEWIDTH_EASTASIAN 0 ''; + passthru.updateScript = nix-update-script {}; + meta = with lib; { description = "A terminal based UNIX user and group browser"; homepage = "https://github.com/ariasmn/ugm"; From a5388ad305a3c79f344995667cfdbd784c347111 Mon Sep 17 00:00:00 2001 From: oo-infty Date: Sat, 13 Apr 2024 10:57:31 +0000 Subject: [PATCH 2/2] ugm: 1.4.0 -> 1.5.0 --- pkgs/by-name/ug/ugm/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ug/ugm/package.nix b/pkgs/by-name/ug/ugm/package.nix index 23b4f193035d..cccaf83848b4 100644 --- a/pkgs/by-name/ug/ugm/package.nix +++ b/pkgs/by-name/ug/ugm/package.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "ugm"; - version = "1.4.0"; + version = "1.5.0"; src = fetchFromGitHub { owner = "ariasmn"; repo = "ugm"; rev = "v${version}"; - hash = "sha256-Co8JN0WEc1I08My9m7iyAshtEO4aszN8/sCvoGFJv2A="; + hash = "sha256-Ui/JYU/ZbMP8E20vWHah1GFFVu5E4xf0RaVv9X0QnR4="; }; vendorHash = "sha256-34D9fQnmKnOyUqshduLmFiVgcVKi7mDKBs3X5ZQxsuw=";