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)
(lambda (inputs)
`((propagated-inputs
,(map (lambda (tex-name)
(let ((name (guix-name tex-name)))
(list name (list 'unquote (string->symbol name)))))
inputs)))))
(list ,@(map (lambda (tex-name)
(let ((name (guix-name tex-name)))
(string->symbol name)))
inputs))))))
'())
,@(or (and=> (assoc-ref data 'catalogue-ctan)
(lambda (url)

View File

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