gnu: powertop: Update to 2.14.
* gnu/packages/linux.scm (powertop): Update to 2.14. [source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Add required #:configure-flags. [native-inputs]: Add autoconf, automake, gettext, and libtool.
This commit is contained in:
parent
58805da44d
commit
763feb97cd
1 changed files with 15 additions and 7 deletions
|
@ -2821,17 +2821,21 @@ devices. It replaces @code{iwconfig}, which is deprecated.")
|
||||||
(define-public powertop
|
(define-public powertop
|
||||||
(package
|
(package
|
||||||
(name "powertop")
|
(name "powertop")
|
||||||
(version "2.13")
|
(version "2.14")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://01.org/sites/default/files/downloads/"
|
(uri (git-reference
|
||||||
"powertop-" version ".tar.gz"))
|
(url "https://github.com/fenrus75/powertop")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0y1ixw8v17fdb1ima0zshrd0rh4zxdh10r93nrrvq6d4lhn9jpx6"))))
|
(base32 "1zkr2y5nb1nr22nq8a3zli87iyfasfq6489p7h1k428pv8k45w4f"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:configure-flags
|
||||||
|
(list "LDFLAGS=-pthread")
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; TODO: Patch some hardcoded "wlan0" in calibrate/calibrate.cpp to
|
;; TODO: Patch some hardcoded "wlan0" in calibrate/calibrate.cpp to
|
||||||
;; allow calibrating the network interface in Guix System.
|
;; allow calibrating the network interface in Guix System.
|
||||||
|
@ -2856,7 +2860,11 @@ devices. It replaces @code{iwconfig}, which is deprecated.")
|
||||||
("pciutils" ,pciutils)
|
("pciutils" ,pciutils)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("autoconf" ,autoconf)
|
||||||
|
("automake" ,automake)
|
||||||
|
("gettext" ,gettext-minimal)
|
||||||
|
("libtool" ,libtool)
|
||||||
|
("pkg-config" ,pkg-config)))
|
||||||
(home-page "https://01.org/powertop/")
|
(home-page "https://01.org/powertop/")
|
||||||
(synopsis "Analyze power consumption on Intel-based laptops")
|
(synopsis "Analyze power consumption on Intel-based laptops")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue