me
/
guix
Archived
1
0
Fork 0

guix: Shorten home page URL in texlive importer.

* guix/import/texlive.scm (tlpdb->package): Use short URL for home page.
master
Nicolas Goaziou 2023-03-30 18:13:54 +02:00
parent abf686239f
commit 1dcaa0fc30
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 4 additions and 3 deletions

View File

@ -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))