[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: mcelog: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
08/10: gnu: mcelog: Don't use unstable tarball. |
Date: |
Mon, 11 Jan 2021 17:31:37 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit b226ccf3ff036b8196bce422beb3932b5ee833d1
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Jan 11 22:23:49 2021 +0100
gnu: mcelog: Don't use unstable tarball.
* gnu/packages/linux.scm (mcelog)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
---
gnu/packages/linux.scm | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f1dcf72..b16b3b7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5912,22 +5912,22 @@ the default @code{nsswitch} and the experimental
@code{umich_ldap}.")
(package
(name "mcelog")
(version "175")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://git.kernel.org/cgit/utils/cpu/mce/"
- "mcelog.git/snapshot/v" version ".tar.gz"))
- (sha256
- (base32
- "1cfx7qpyai10n0qsm7z3h3hmkssarwvvq8yb0dd3lsc97ypx96z3"))
- (file-name (string-append name "-" version ".tar.gz"))
- (modules '((guix build utils)))
- (snippet
- `(begin
- ;; The snapshots lack a .git directory,
- ;; breaking ‘git describe’.
- (substitute* "Makefile"
- (("\"unknown\"") (string-append "\"v" ,version "\"")))
- #t))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vvrnjkh1jp7f6295syydg7lplqmcm8msdls3xyk8xfiz69xqdjz"))
+ (modules '((guix build utils)))
+ (snippet
+ `(begin
+ ;; The checkout lack a .git directory, breaking ‘git describe’.
+ (substitute* "Makefile"
+ (("\"unknown\"") (string-append "\"v" ,version "\"")))
+ #t))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
- branch master updated (1cf31ee -> 8153705), guix-commits, 2021/01/11
- 05/10: gnu: inxi-minimal: Update to 3.2.02-1., guix-commits, 2021/01/11
- 02/10: gnu: rng-tools: Update to 6.11., guix-commits, 2021/01/11
- 07/10: gnu: mcelog: Cross-compile., guix-commits, 2021/01/11
- 04/10: gnu: erofs-utils: Update to 1.2.1., guix-commits, 2021/01/11
- 08/10: gnu: mcelog: Don't use unstable tarball.,
guix-commits <=
- 09/10: gnu: podofo: Update to 0.9.7., guix-commits, 2021/01/11
- 01/10: gnu: libblockdev: Update to 2.25., guix-commits, 2021/01/11
- 06/10: gnu: mcelog: Update to 175., guix-commits, 2021/01/11
- 10/10: gnu: podofo: Omit static library., guix-commits, 2021/01/11
- 03/10: gnu: htop: Update to 3.0.5., guix-commits, 2021/01/11