guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/25: gnu: btop: Don't use autogenerated tarball.


From: guix-commits
Subject: 01/25: gnu: btop: Don't use autogenerated tarball.
Date: Mon, 14 Nov 2022 08:44:42 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 643d4f63beb15c3411e9a6c611da4473b9d5836c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 14 14:59:02 2022 +0200

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]