aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-11-14 14:59:02 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-11-14 14:59:02 +0200
commit643d4f63beb15c3411e9a6c611da4473b9d5836c (patch)
treeb7c19d110b2611c0e45dcde0708a66dc4fe58817
parent18b39f34b08cbfdf20e13de9329427cdbe391712 (diff)
downloadguix-643d4f63beb15c3411e9a6c611da4473b9d5836c.tar.gz
guix-643d4f63beb15c3411e9a6c611da4473b9d5836c.zip
gnu: btop: Don't use autogenerated tarball.
* gnu/packages/admin.scm (btop)[source]: Download using git-fetch.
-rw-r--r--gnu/packages/admin.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5c7dcb681c..ee730ac8e3 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -710,13 +710,14 @@ console.")
(name "btop")
(version "1.2.13")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/aristocratos/btop/archive/refs/tags/v"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aristocratos/btop")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "00hfja154i5kmsgh1ja8aifcqj12jy7p8chdmlslqmij4iwc93b6"))))
+ "0aggzlxyfp213rknpbhkn8wbgzcnz181dyh9m2awz72w705axy8p"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;no test suite