import: texlive: Remove labels from 'propagated-inputs' field.

* guix/import/texlive.scm (tlpdb->package): Remove labels from
'propagated-inputs' field.
* tests/texlive.scm ("texlive->guix-package"): Adjust accordingly.
This commit is contained in:
Ludovic Courtès 2022-01-13 22:26:23 +01:00
parent b1fc98d6b0
commit 641b599d0b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 9 additions and 9 deletions

View File

@ -239,10 +239,10 @@
,@(or (and=> (assoc-ref data 'depend) ,@(or (and=> (assoc-ref data 'depend)
(lambda (inputs) (lambda (inputs)
`((propagated-inputs `((propagated-inputs
,(map (lambda (tex-name) (list ,@(map (lambda (tex-name)
(let ((name (guix-name tex-name))) (let ((name (guix-name tex-name)))
(list name (list 'unquote (string->symbol name))))) (string->symbol name)))
inputs))))) inputs))))))
'()) '())
,@(or (and=> (assoc-ref data 'catalogue-ctan) ,@(or (and=> (assoc-ref data 'catalogue-ctan)
(lambda (url) (lambda (url)

View File

@ -185,11 +185,11 @@ completely compatible with Plain TeX.")
('base32 (? string? hash)) ('base32 (? string? hash))
#:trivial? #t)) #:trivial? #t))
('propagated-inputs ('propagated-inputs
(("texlive-cm" ',texlive-cm) ('list 'texlive-cm
("texlive-hyphen-base" ',texlive-hyphen-base) 'texlive-hyphen-base
("texlive-knuth-lib" ',texlive-knuth-lib) 'texlive-knuth-lib
("texlive-plain" ',texlive-plain) 'texlive-plain
("texlive-tex" ',texlive-tex))) 'texlive-tex))
('home-page "https://www.tug.org/texlive/") ('home-page "https://www.tug.org/texlive/")
('synopsis "Plain TeX macros for Physicists") ('synopsis "Plain TeX macros for Physicists")
('description (? string? description)) ('description (? string? description))