[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: import/texlive: Process license field only when it exists.
From: |
guix-commits |
Subject: |
07/08: import/texlive: Process license field only when it exists. |
Date: |
Wed, 29 Mar 2023 15:08:45 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit b849a47bdbd84d68c7f608c26770dc93fbc52e0c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Mar 29 21:05:26 2023 +0200
import/texlive: Process license field only when it exists.
* guix/import/texlive.scm (tlpdb->package): Check "catalogue-license" field
before using string->license.
---
guix/import/texlive.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm
index f1557fcd0f..17c17f690c 100644
--- a/guix/import/texlive.scm
+++ b/guix/import/texlive.scm
@@ -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
- branch master updated (cd31437e9c -> 739c257378), guix-commits, 2023/03/29
- 02/08: gnu: Add texlive-dvipdfmx., guix-commits, 2023/03/29
- 01/08: gnu: Add texlive-glyphlist., guix-commits, 2023/03/29
- 07/08: import/texlive: Process license field only when it exists.,
guix-commits <=
- 03/08: gnu: Add texlive-firstaid., guix-commits, 2023/03/29
- 05/08: import/texlive: Ignore architecture-dependent packages., guix-commits, 2023/03/29
- 04/08: gnu: Add texlive-xetex., guix-commits, 2023/03/29
- 06/08: import/texlive: Only process description if it exists., guix-commits, 2023/03/29
- 08/08: import/texlive: tlpdb->package: Ignore files outside of texmf-dist., guix-commits, 2023/03/29