This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 24a46e95e1 gnu: Add ryzenadj.
24a46e95e1 is described below

commit 24a46e95e11f63d33ba260f735496d5109ea00d5
Author: Mathieu Laparie <[email protected]>
AuthorDate: Wed Aug 27 19:45:44 2025 +0200

    gnu: Add ryzenadj.
    
    * gnu/packages/linux.scm (ryzenadj): New variable.
    
    Change-Id: Ic72610b8c651b51dbd770ffba45a1be809db1dbf
---
 gnu/packages/linux.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9f6dcc69f3..661518b6a5 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -83,6 +83,7 @@
 ;;; Copyright © 2024 Arun Isaac <[email protected]>
 ;;; Copyright © 2024, 2025 Ashish SHUKLA <[email protected]>
 ;;; Copyright © 2025 Nigko Yerden <[email protected]>
+;;; Copyright © 2025 Mathieu Laparie <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -12194,6 +12195,36 @@ virtual server table in the Linux kernel.  The Linux 
Virtual Server can be used
 to build scalable network services based on a cluster of two or more nodes.")
     (license license:gpl2+)))
 
+(define-public ryzenadj
+  (package
+    (name "ryzenadj")
+    (version "0.17.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append 
"https://github.com/flygoat/ryzenadj/archive/refs/tags/";
+                                  "v" version ".tar.gz"))
+                   (sha256
+                    (base32 
"0i2x6kbn2ix52vjz1mmh0c0g3w0k4sn0lq68wbsk0pgndzcck2l4"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin (delete-file-recursively "win32")
+                 #t))))
+    (build-system cmake-build-system)
+    (inputs (list pciutils))
+    (arguments
+     (list #:tests? #f ; No test suite
+           #:phases #~(modify-phases %standard-phases
+                        (add-before 'install 'build
+                          (lambda _
+                            (invoke "cmake" "-DCMAKE_BUILD_TYPE=Release" 
"."))))))
+    (home-page "https://github.com/flygoat/ryzenadj";)
+    (synopsis "Power management tool for AMD Ryzen APUs")
+    (description
+     "@command{ryzenadj} is an utility to adjust power management settings for
+AMD Ryzen mobile processors.  You will need to ensure it can access /dev/mem,
+for instance by using the \"iomem=relaxed\" kernel argument.")
+    (license license:lgpl3)))
+
 (define-public ryzen-smu
   (package
     (name "ryzen-smu")

Reply via email to