From 9cdaac3acc74f02f9b34088e5da76a8d88de6167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 5 Mar 2026 15:58:18 +0100 Subject: [PATCH] gnu: artanis: Build from a version-control checkout. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/guile-xyz.scm (artanis)[source]: Switch to ‘git-fetch’. [native-inputs]: Add ‘autoconf‘, ‘automake’, and ‘gnu-gettext’. Change-Id: I22d6d6f620a53930a424f14db16be4f585e99c54 Signed-off-by: Ludovic Courtès --- gnu/packages/guile-xyz.scm | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index fd4973bbfd..353cc81b41 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -169,12 +169,13 @@ (name "artanis") (version "1.3.0") (source (origin - (method url-fetch) - (uri (string-append "mirror://gnu/artanis/artanis-" - version ".tar.gz")) - (sha256 - (base32 - "16cwjyl0ykz6r7vvczrwaik6y4pc0fwc0hvwskfbgv9z71j2alzi")) + (method git-fetch) + (uri (git-reference + (url "https://https.git.savannah.gnu.org/git/artanis.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 (base32 + "0qpksi681z10jsip8ka0phq5kmkpxfcy5nvm861dsbjb335klbb6")) (modules '((guix build utils))) (snippet '(begin @@ -213,7 +214,10 @@ (propagated-inputs (list guile-json-4 guile-curl guile-readline guile-redis)) (native-inputs - (list bash-minimal ;for the `source' builtin + (list autoconf + automake + gnu-gettext ;for 'AC_LIB_LINKFLAGS_FROM_LIBS' macro + bash-minimal ;for the `source' builtin pkg-config util-linux)) ;for the `script' command (arguments