[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: tmon: Update package style.
From: |
guix-commits |
Subject: |
04/07: gnu: tmon: Update package style. |
Date: |
Sun, 30 Jul 2023 19:04:29 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 35f174ad009d2b896370580463bef163288cebc0
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 23 02:00:00 2023 +0200
gnu: tmon: Update package style.
* gnu/packages/linux.scm (tmon)[arguments]: Use G-expressions.
Don't explicitly return #t from phases.
---
gnu/packages/linux.scm | 34 ++++++++++++++++------------------
1 file changed, 16 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b2bea201d2..3aec03a3ec 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6526,24 +6526,22 @@ supported.")
(source (package-source linux-libre))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; no test suite
- #:make-flags
- (list (string-append "CC=" ,(cc-for-target))
- (string-append "INSTALL_ROOT=" (assoc-ref %outputs "out"))
- "BINDIR=bin")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'enter-subdirectory
- (lambda _
- (chdir "tools/thermal/tmon")
- #t))
- (add-after 'install 'install-man-page
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (man8 (string-append out "/share/man/man8")))
- (install-file "tmon.8" man8)
- #t)))
- (delete 'configure)))) ; no configure script
+ (list
+ #:tests? #f ; no test suite
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "INSTALL_ROOT=" #$output)
+ "BINDIR=bin")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'enter-subdirectory
+ (lambda _
+ (chdir "tools/thermal/tmon")))
+ (add-after 'install 'install-man-page
+ (lambda _
+ (let ((man8 (string-append #$output "/share/man/man8")))
+ (install-file "tmon.8" man8))))
+ (delete 'configure)))) ; no configure script
(inputs
(list ncurses))
(home-page (package-home-page linux-libre))
- branch master updated (62e917a0c6 -> a27d172ee6), guix-commits, 2023/07/30
- 03/07: gnu: pv: Update to 1.7.18., guix-commits, 2023/07/30
- 02/07: gnu: asunder: Use G-expressions., guix-commits, 2023/07/30
- 05/07: gnu: libxml++: Update to 5.0.3., guix-commits, 2023/07/30
- 01/07: gnu: asunder: Update to 3.0.1., guix-commits, 2023/07/30
- 07/07: gnu: calc: Update to 2.14.2.1., guix-commits, 2023/07/30
- 04/07: gnu: tmon: Update package style.,
guix-commits <=
- 06/07: gnu: python-srsly: Update to 2.4.7., guix-commits, 2023/07/30