[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/22: gnu: hddtemp: Update to 0.4.3.
From: |
guix-commits |
Subject: |
10/22: gnu: hddtemp: Update to 0.4.3. |
Date: |
Sun, 23 May 2021 17:40:22 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit ada6f396e4f6c75859e3d191f0f8362aa91a1761
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun May 23 11:25:57 2021 +0200
gnu: hddtemp: Update to 0.4.3.
* gnu/packages/disk.scm (hddtemp): Update to 0.4.3.
[source, home-page]: Use a maintained fork/continuation.
[arguments]: Add a new 'delete-autogen.sh phase.
Adjust the 'install-db phase to install the bundled hddtemp.db.
[inputs]: Remove old hddtemp.db.
[native-inputs]: Add autoconf, automake, and gettext.
f hddtemp
---
gnu/packages/disk.scm | 46 +++++++++++++++++++++++++---------------------
1 file changed, 25 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 006cb8e..84996f9 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -1144,15 +1144,18 @@ of choice for all light thinking Unix addicts!")
(define-public hddtemp
(package
(name "hddtemp")
- (version "0.3-beta15")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://savannah/hddtemp/hddtemp-"
- version
- ".tar.bz2"))
- (sha256
- (base32
- "0nzgg4nl8zm9023wp4dg007z6x3ir60rwbcapr9ks2al81c431b1"))))
+ ;; <https://savannah.nongnu.org/projects/hddtemp/> advertises the project
as
+ ;; ‘orphaned/unmaintained’. Use a maintained fork/continuation.
+ (version "0.4.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vitlav/hddtemp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04kylb2ka0jimi238zpfq1yii2caidpmj3ck51rvxz03y5lpq8fw"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list (string-append
@@ -1161,19 +1164,20 @@ of choice for all light thinking Unix addicts!")
"/share/hddtemp/hddtemp.db"))
#:phases
(modify-phases %standard-phases
+ (add-before 'bootstrap 'delete-autogen.sh
+ (lambda _
+ ;; The default 'bootstrap phase works better.
+ (delete-file "autogen.sh")))
(add-after 'install 'install-db
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((target (string-append (assoc-ref outputs "out")
- "/share/hddtemp/hddtemp.db")))
- (mkdir-p (dirname target))
- (copy-file (assoc-ref inputs "db") target)))))))
- (inputs
- `(("db" ,(origin
- (method url-fetch)
- (uri "mirror://savannah/hddtemp/hddtemp.db")
- (sha256
- (base32
"1fr6qgns6qv7cr40lic5yqwkkc7yjmmgx8j0z6d93csg3smzhhya"))))))
- (home-page "https://savannah.nongnu.org/projects/hddtemp/")
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (install-file "data/hddtemp.db"
+ (string-append out "/share/hddtemp"))))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("gettext" ,gettext-minimal)))
+ (home-page "https://github.com/vitlav/hddtemp")
(synopsis "Report the temperature of hard drives from S.M.A.R.T.
information")
(description "@command{hddtemp} is a small utility that gives you the
temperature of your hard drive by reading S.M.A.R.T. information (for drives
- 01/22: gnu: ois: Update to 1.5.1., (continued)
- 01/22: gnu: ois: Update to 1.5.1., guix-commits, 2021/05/23
- 05/22: gnu: nvc: Update to 1.5.1., guix-commits, 2021/05/23
- 06/22: gnu: butt: Update to 0.1.30., guix-commits, 2021/05/23
- 08/22: gnu: abook: Fix typo in description., guix-commits, 2021/05/23
- 11/22: gnu: diffoscope: Update to 175., guix-commits, 2021/05/23
- 15/22: gnu: retroarch: Update to 1.9.3., guix-commits, 2021/05/23
- 17/22: gnu: libetonyek: Update to 0.1.10., guix-commits, 2021/05/23
- 04/22: gnu: cava: Update to 0.7.4., guix-commits, 2021/05/23
- 07/22: gnu: butt: Add snippet., guix-commits, 2021/05/23
- 09/22: gnu: parallel: Update to 20210522., guix-commits, 2021/05/23
- 10/22: gnu: hddtemp: Update to 0.4.3.,
guix-commits <=
- 12/22: gnu: exfatprogs: Update to 1.1.2., guix-commits, 2021/05/23
- 13/22: gnu: freeipmi: Update to 1.6.8., guix-commits, 2021/05/23
- 14/22: gnu: python-django-compressor: Update to 2.4.12.4.1., guix-commits, 2021/05/23
- 16/22: gnu: ltris: Update to 1.2.3., guix-commits, 2021/05/23
- 18/22: gnu: libmediaart: Update to 1.9.5., guix-commits, 2021/05/23
- 19/22: gnu: mm-common: Update to 1.0.3., guix-commits, 2021/05/23
- 21/22: gnu: md4c: Update to 0.4.8., guix-commits, 2021/05/23
- 22/22: gnu: Respect the root file-system's CHECK? field., guix-commits, 2021/05/23
- 20/22: gnu: lmdb: Update to 0.9.29., guix-commits, 2021/05/23