3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

guix: Shorten home page URL in texlive importer.

* guix/import/texlive.scm (tlpdb->package): Use short URL for home page.
This commit is contained in:
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

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