summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-03-30 18:13:54 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-03-30 18:16:31 +0200
commit1dcaa0fc305950d1c6f8dd397a4096132fc1c8a7 (patch)
tree93527b47640087d61f942fce6752e89a8853f537 /guix/import
parentabf686239f3f53befa8dbae9b3aed2406b312c68 (diff)
guix: Shorten home page URL in texlive importer.
* guix/import/texlive.scm (tlpdb->package): Use short URL for home page.
Diffstat (limited to 'guix/import')
-rw-r--r--guix/import/texlive.scm7
1 files 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))