me
/
guix
Archived
1
0
Fork 0

import/texlive: Process license field only when it exists.

* guix/import/texlive.scm (tlpdb->package): Check "catalogue-license" field
before using string->license.
master
Ricardo Wurmus 2023-03-29 21:05:26 +02:00
parent 03a83c2906
commit b849a47bdb
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 2 deletions

View File

@ -298,9 +298,9 @@ of those files are returned that are unexpectedly installed."
`((home-page ,(string-append "https://ctan.org" url)))))
'((home-page "https://www.tug.org/texlive/")))
(synopsis ,(assoc-ref data 'shortdesc))
(license ,(string->license
(assoc-ref data 'catalogue-license))))
(description ,(and=> (assoc-ref data 'longdesc) beautify-description))
(license ,(and=> (assoc-ref data 'catalogue-license)
string->license)))
filtered-depends)))
(define texlive->guix-package