summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2025-09-17 22:13:43 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2025-09-17 22:13:49 +0300
commit22f944e47876eb07c1c4acbe295d91807dec49cc (patch)
treefbd499b1ffffb11da63436484c9f74ea311463e2
parent009ca1c72ff41ed08d6a4dd2eeaf6eb55452a2aa (diff)
gnu: mbpfan: Update to 2.4.0.
* gnu/packages/linux.scm (mbpfan): Update to 2.4.0. [arguments]: Use GEXPs. Change-Id: I8a83a5f64b0ced1e96069923066083a0377222bd
-rw-r--r--gnu/packages/linux.scm27
1 files changed, 13 insertions, 14 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 29b7c63436..28a5153f1e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -10252,7 +10252,7 @@ interface to this kernel feature.")
(define-public mbpfan
(package
(name "mbpfan")
- (version "2.2.1")
+ (version "2.4.0")
(source
(origin
(method git-fetch)
@@ -10261,21 +10261,20 @@ interface to this kernel feature.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0gc9ypxi55vxs77nx8ihhh9zk7fr9v0m0zfm76q7x0bi6jz11mbr"))))
+ (base32 "146sshsjafi26n741jvi9mdbazwf74jlacxfwkky4fhbq98idlhp"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; tests ask to be run as root
- #:make-flags (let ((out (assoc-ref %outputs "out")))
- (list (string-append "DESTDIR=" out)
- ,(string-append "CC=" (cc-for-target))))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-paths
- (lambda _
- (substitute* "Makefile"
- (("/usr") ""))
- #t))
- (delete 'configure)))) ; there's no configure phase
+ (list #:tests? #f ; tests ask to be run as root
+ #:make-flags
+ #~(list (string-append "DESTDIR=" #$output)
+ (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
+ (lambda _
+ (substitute* "Makefile"
+ (("/usr") ""))))
+ (delete 'configure)))) ; there's no configure phase
(home-page "https://github.com/dgraziotin/mbpfan")
(synopsis "Control fan speed on Macbooks")
(description