guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 77fce92df2250f225ffe6b489e138c20bdde8918
Author: luca <[email protected]>
AuthorDate: Thu Nov 20 20:17:08 2025 +0100
gnu: smartmontools: Update to 7.5.
* gnu/packages/admin.scm (smartmontools): Update to 7.5.
[source]: Change to git-checkout of new GitHub repo.
<#:phases>: Add phase 'chdir.
[inputs]: Add automake, autoconf.
Change-Id: Ic0b40792efa943122c68354593ccb6b4048b90d0
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/admin.scm | 30 ++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 9cf13ddb83..36b4791a2b 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -77,6 +77,7 @@
;;; Copyright © 2025 Dariqq <[email protected]>
;;; Copyright © 2024 nik gaffney <[email protected]>
;;; Copyright © 2025 Simon Streit <[email protected]>
+;;; Copyright © 2025 Luca Kredel <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3141,29 +3142,34 @@ various ways that may be running with too much
privilege.")
(define-public smartmontools
(package
(name "smartmontools")
- (version "7.4")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "mirror://sourceforge/smartmontools/smartmontools/"
- version "/smartmontools-" version ".tar.gz"))
- (sha256
- (base32
- "0gcrzcb4g7f994n6nws26g6x15yjija1gyzd359sjv7r3xj1z9p9"))))
+ (version "7.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/smartmontools/smartmontools")
+ (commit (string-append "RELEASE_"
+ (string-replace-substring version "."
"_")))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00c58xcqv73lzxf0baly2q0sqkyd2vncv93iabjj7jkvbzf7nqpz"))))
(build-system gnu-build-system)
(arguments
(list
#:make-flags
#~(list "BUILD_INFO=\"(Guix)\"")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "smartmontools"))))
#:configure-flags
#~(list (format #f "--with-scriptpath=~{~a:~}$PATH"
(map (lambda (pkg)
(in-vicinity pkg "bin"))
'#$(list (this-package-input "coreutils-minimal")
(this-package-input "sed")))))))
- (inputs (list coreutils-minimal
- libcap-ng
- sed))
+ (inputs (list automake autoconf coreutils-minimal libcap-ng sed))
(home-page "https://www.smartmontools.org/")
(synopsis "S.M.A.R.T. harddisk control and monitoring tools")
(description