From 643d4f63beb15c3411e9a6c611da4473b9d5836c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 14 Nov 2022 14:59:02 +0200 Subject: gnu: btop: Don't use autogenerated tarball. * gnu/packages/admin.scm (btop)[source]: Download using git-fetch. --- gnu/packages/admin.scm | 11 ++++++----- 1 file 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 -- cgit v1.2.3