summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authormarderbot <marderbot@tredecimal.com>2026-02-27 18:47:05 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-01 23:47:49 +0000
commitc8985dd911c4c8e2948c888df8b54c9bc317625e (patch)
tree5b9473b59e7c2705858f70200c897d856c716b1c /gnu/packages
parent7d04e79c70c484486c99d519d79d7df7b6c86c08 (diff)
gnu: Add undervolt
* gnu/packages/admin.scm (undervolt): New variable. Merges: https://codeberg.org/guix/guix/pulls/6747 Change-Id: I87569de5a4b4e31d47ee628c4a3e73c776931d33 Reviwed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl> Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/admin.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 0b5e27c7715..aaa2c2a48e0 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -82,6 +82,7 @@
;;; Copyright © 2026 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2026 Luis Guilherme Coelho <lgcoelho@disroot.org>
;;; Copyright © 2026 Andy Tai <atai@atai.org>
+;;; Copyright © 2026 marderbot <marderbot@tredecimal.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5253,6 +5254,34 @@ support forum. It runs with the @code{/exec} command in most IRC clients.")
(description "This package provides @code{udev} bindings for Python.")
(license license:lgpl2.1)))
+(define-public undervolt
+ (package
+ (name "undervolt")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/georgewhewell/undervolt")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "136j8rqqra84yg57vn3nqwk1b36y9y7sjkynr0fl8pnrb7z8mq0v"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;no tests
+ (native-inputs
+ (list python-setuptools))
+ (home-page "https://github.com/georgewhewell/undervolt")
+ (synopsis "Undervolt Intel CPUs under Linux")
+ (description
+ "Undervolt is a program for undervolting Intel CPUs under Linux. It
+works in a similar manner to the Windows program ThrottleStop (i.e, MSR
+0x150). A fixed voltage offset may be applied to one of 5 voltage planes,
+which overrides systems' temperature target (CPU will throttle when this
+temperature is reached).")
+ (license license:gpl2+)))
+
(define-public vmtouch
(package
(name "vmtouch")