From 1dcaa0fc305950d1c6f8dd397a4096132fc1c8a7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 30 Mar 2023 18:13:54 +0200 Subject: guix: Shorten home page URL in texlive importer. * guix/import/texlive.scm (tlpdb->package): Use short URL for home page. --- guix/import/texlive.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm index 81f9177443..086cd363a9 100644 --- a/guix/import/texlive.scm +++ b/guix/import/texlive.scm @@ -297,9 +297,10 @@ of those files are returned that are unexpectedly installed." (let ((name (guix-name tex-name))) (string->symbol name))) inputs)))))) - ,@(or (and=> (assoc-ref data 'catalogue-ctan) - (lambda (url) - `((home-page ,(string-append "https://ctan.org" url))))) + ,@(or (and=> (assoc-ref data 'name) + (lambda (name) + `((home-page ,(string-append "https://ctan.org/pkg/" + name))))) '((home-page "https://www.tug.org/texlive/"))) (synopsis ,(assoc-ref data 'shortdesc)) (description ,(and=> (assoc-ref data 'longdesc) beautify-description)) -- cgit 1.4.1