From c5e393f54baf98cd05099c3cb07e377ac2c7c0b2 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Wed, 31 Jul 2024 23:59:40 +0530 Subject: [PATCH] ryzen_monitor_ng: add updateScript, update homepage apply nixfmt-rfc-style Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- pkgs/by-name/ry/ryzen-monitor-ng/package.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix index 7c8f577e5eef..75826b331683 100644 --- a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix +++ b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix @@ -1,4 +1,9 @@ -{ lib, stdenv, fetchFromGitHub }: +{ + lib, + stdenv, + fetchFromGitHub, + unstableGitUpdater, +}: stdenv.mkDerivation { pname = "ryzen-monitor-ng"; @@ -22,14 +27,14 @@ stdenv.mkDerivation { make clean ''; - makeFlags = [ - "PREFIX=${placeholder "out"}" - ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + + passthru.updateScript = unstableGitUpdater { }; meta = with lib; { description = "Access Ryzen SMU information exposed by the ryzen_smu driver"; - homepage = "https://github.com/mann1x/ryzen_monitor_ng"; - changelog = "https://github.com/mann1x/ryzen_monitor_ng/blob/master/CHANGELOG.md"; + homepage = "https://github.com/plasmin/ryzen_monitor_ng"; + changelog = "https://github.com/plasmin/ryzen_monitor_ng/blob/master/CHANGELOG.md"; license = licenses.agpl3Only; platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ phdyellow ];