1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
This commit is contained in:
marderbot
2026-02-27 18:47:05 +01:00
committed by Sharlatan Hellseher
parent 7d04e79c70
commit c8985dd911

View File

@@ -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")