mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 00:42:17 -05:00
gnu: Add powercap.
* gnu/packages/linux.scm (powercap): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
4cda5a4dab
commit
703f932cc9
1 changed files with 25 additions and 0 deletions
|
@ -1651,6 +1651,31 @@ (define-public python-pamela
|
|||
;;; Miscellaneous.
|
||||
;;;
|
||||
|
||||
(define-public powercap
|
||||
(package
|
||||
(name "powercap")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/powercap/powercap")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1hp2i1d195v0n4jgvgaymkxlpgyhn07ic273gkda95lz65cdfcgm"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags
|
||||
'("-DBUILD_SHARED_LIBS=ON")))
|
||||
(home-page "https://github.com/powercap/powercap")
|
||||
(synopsis "Utilities for accessing the powercap Linux kernel feature")
|
||||
(description "This package contains utilities for accessing the powercap
|
||||
Linux kernel feature through sysfs. It includes an implementation for working
|
||||
with Intel @acronym{RAPL, Running Average Power Limit}.
|
||||
It provides the commands @code{powercap-info} and @code{powercap-set}.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public powerstat
|
||||
(package
|
||||
(name "powerstat")
|
||||
|
|
Loading…
Reference in a new issue