From b12f52809d9130a518ce9bae375404bf3b69f45e Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 28 Sep 2025 18:21:40 +0200 Subject: [PATCH] gnu: av-98: Update to 1.4. * gnu/packages/web-browsers.scm (av-98): Update to 1.4. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. <#:phases>: Add phase 'configure-sanity-check. [native-inputs]: Add python-setuptools. [home-page]: Refresh it, the project moved. Change-Id: I589c4622f9c38a9d3e4b27e9e2a28d3767eed74b Signed-off-by: Sharlatan Hellseher --- gnu/packages/web-browsers.scm | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index c0820f400b7..aa55af927a5 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -48,7 +48,6 @@ #:use-module (guix build-system go) #:use-module (guix build-system meson) #:use-module (guix build-system pyproject) - #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) @@ -1109,21 +1108,31 @@ saved to a file for further viewing in another window.") (define-public av-98 (package (name "av-98") - (version "1.0.1") - (properties - '((upstream-name . "AV-98"))) + (version "1.4") + (properties '((upstream-name . "AV-98"))) (source (origin - (method url-fetch) - (uri (pypi-uri "AV-98" version)) + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~solderpunk/AV-98") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "02fjnc2rvm010gb3i07p8r4xlhrmnv1wca1qymfjcymr7vm68h0i")))) - (build-system python-build-system) - (home-page "https://tildegit.org/solderpunk/AV-98/") + (base32 "04dzkzsan1cnrslsvfgn1whpwald8xy34wqzvq81hd2mvw9a2n69")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ; No tests. + #:phases + #~(modify-phases %standard-phases + (add-before 'sanity-check 'configure-sanity-check + (lambda _ + (setenv "HOME" (getcwd))))))) + (native-inputs (list python-setuptools)) + (home-page "https://git.sr.ht/~solderpunk/AV-98") (synopsis "Command line Gemini client") - (description "AV-98 is an experimental client for the Gemini protocol. -Features include + (description + "AV-98 is an experimental client for the Gemini protocol. Features include @itemize @item TOFU or CA server certificate validation; @item Extensive client certificate support if an openssl binary is available;