This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 8408e0e511 gnu: Add utmp-cli.
8408e0e511 is described below
commit 8408e0e511157c6c875481b69137b2545ec82966
Author: Arun Isaac <[email protected]>
AuthorDate: Mon Aug 4 23:58:23 2025 +0100
gnu: Add utmp-cli.
* gnu/packages/hardware.scm (utmp-cli): New variable.
---
gnu/packages/hardware.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 9de7f7d63d..421993d12c 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2024 Zheng Junjie <[email protected]>
;;; Copyright © 2024 Jakob Kirsch <[email protected]>
;;; Copyright © 2025 Eric Bavier <[email protected]>
+;;; Copyright © 2025 Arun Isaac <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -782,6 +783,38 @@ color (good for notifications)
(home-page "https://github.com/enwi/hueplusplus")
(license license:lgpl3+)))
+(define-public utmp-cli
+ (package
+ (name "utmp-cli")
+ (version "1.063")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/usbtemp/utmp-cli")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07j827nin4wm4hh8ljsj1dj3harb3dxan05ck8n68c443qqakz4a"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:tests? #f
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "utmp-cli"
+ (string-append (assoc-ref outputs "out")
+ "/bin")))))))
+ (home-page "https://github.com/usbtemp/utmp-cli")
+ (synopsis "Read temperature from USB thermometer")
+ (description "Read temperature from usbtemp.com USB thermometer and
+DS9097E compatible 1-wire adapter with one DS18B20 digital probe attached
+through command line interface.")
+ (license license:expat)))
+
(define-public i7z
(let ((revision "0")
(commit "1a41ff13db747e962456ddbb5ccb2b7fc43ca0cb"))