efraim pushed a commit to branch master
in repository guix.

commit a998d660bfa84d441423fc489b8f8596e6d8b6a4
Author: Timotej Lazar <[email protected]>
AuthorDate: Tue Jun 4 10:50:08 2024 +0200

    gnu: tig: Update to 2.5.10.
    
    * gnu/packages/version-control.scm (tig): Update to 2.5.10.
    [source]: Switch to git. Drop unbundling snippet.
    [native-inputs]: Add autoconf, automake, docbook-xsl, libxml2, pkg-config.
    
    Change-Id: I79d8239e7d0d83bfef42263718e8d2d3a2c83252
    Signed-off-by: Efraim Flashner <[email protected]>
---
 gnu/packages/version-control.scm | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index a0f1fd18a4..2ceee47b63 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2786,23 +2786,19 @@ any project with more than one developer, is one of 
Aegis's major functions.")
 (define-public tig
   (package
     (name "tig")
-    (version "2.5.8")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/jonas/tig/releases/download/tig-";
-                    version "/tig-" version ".tar.gz"))
-              (sha256
-               (base32
-                "14b38200bmwvi3030hqnwdsp34854ck3bzncj0wlljnpmr10l3mp"))
-              (modules '((guix build utils)))
-              (snippet
-               '(begin
-                  ;; TODO: Delete and rebuild doc/*.(1|5|7).
-                  (for-each delete-file (find-files "doc" "\\.html$"))))))
+    (version "2.5.10")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jonas/tig";)
+             (commit (string-append "tig-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0m7v6xkvly3cbc5hs7plxdny4r41x3vkx7xylygjva4jcvnz0fjr"))))
     (build-system gnu-build-system)
     (native-inputs
-     (list asciidoc xmlto))
+     (list asciidoc autoconf automake docbook-xsl libxml2 pkg-config xmlto))
     (inputs
      (list ncurses readline))
     (arguments

Reply via email to