ugm: 1.7.0 -> 1.8.0 (#438899)

Changed files
+12 -12
pkgs
by-name
ug
+12 -12
pkgs/by-name/ug/ugm/package.nix
···
{
lib,
-
buildGoModule,
fetchFromGitHub,
makeWrapper,
nix-update-script,
}:
-
buildGoModule rec {
pname = "ugm";
-
version = "1.7.0";
src = fetchFromGitHub {
owner = "ariasmn";
repo = "ugm";
-
rev = "v${version}";
-
hash = "sha256-JgdOoMH8TAUc+23AhU3tZe4SH8GKFeyjSeKm8U7qvpo=";
};
-
vendorHash = "sha256-Dgnh+4bUNyqD8/bj+iUITPB/SBtQPYrB5XC6/M6Zs6k=";
nativeBuildInputs = [ makeWrapper ];
···
passthru.updateScript = nix-update-script { };
-
meta = with lib; {
description = "Terminal based UNIX user and group browser";
homepage = "https://github.com/ariasmn/ugm";
-
changelog = "https://github.com/ariasmn/ugm/releases/tag/${src.rev}";
-
license = licenses.mit;
mainProgram = "ugm";
-
platforms = platforms.linux;
-
maintainers = with maintainers; [ ];
};
-
}
···
{
lib,
+
buildGo125Module,
fetchFromGitHub,
makeWrapper,
nix-update-script,
}:
+
buildGo125Module (finalAttrs: {
pname = "ugm";
+
version = "1.8.0";
src = fetchFromGitHub {
owner = "ariasmn";
repo = "ugm";
+
tag = "v${finalAttrs.version}";
+
hash = "sha256-AkiAF9zLgyzXRC6efjQ+eeAL3mOSQM94B8nr09pcY5M=";
};
+
vendorHash = "sha256-W9v52cxhXdNyW5RGk+SoA1u7Yid+63YYdd9YaGKEWDs=";
nativeBuildInputs = [ makeWrapper ];
···
passthru.updateScript = nix-update-script { };
+
meta = {
description = "Terminal based UNIX user and group browser";
homepage = "https://github.com/ariasmn/ugm";
+
changelog = "https://github.com/ariasmn/ugm/releases/tag/${finalAttrs.src.rev}";
+
license = lib.licenses.mit;
mainProgram = "ugm";
+
platforms = lib.platforms.linux;
+
maintainers = with lib.maintainers; [ ];
};
+
})