From a998d660bfa84d441423fc489b8f8596e6d8b6a4 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 4 Jun 2024 10:50:08 +0200 Subject: 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 --- 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 -- cgit v1.2.3