guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

247/458: gnu: texlive-listings: Refresh package definition.


From: guix-commits
Subject: 247/458: gnu: texlive-listings: Refresh package definition.
Date: Wed, 14 Jun 2023 05:22:42 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit bb471fa274f11be0106598f42e4d161808a3fc7d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:27:01 2023 +0200

    gnu: texlive-listings: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-listings): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-FANCYVRB, TEXLIVE-HYPERREF, TEXLIVE-URL.
---
 gnu/packages/tex.scm | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8a15f9f544..9eb2ddad80 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6973,30 +6973,30 @@ TeX-paragraphs.  All the paragraphs are taken with 
permission from
     (license license:lppl1.3+)))
 
 (define-public texlive-listings
-  (let ((template
-         (simple-texlive-package
-          "texlive-listings"
-          (list "doc/latex/listings/"
-                "source/latex/listings/"
-                "tex/latex/listings/")
-          (base32 "15dnm0j86305x84ss3ymhhcczcw45b2liq01vrab6fj204wzsahk"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/listings")
-         ((#:build-targets _ '())
-          #~(list "listings.ins"))))
-      (home-page "https://www.ctan.org/pkg/listings";)
-      (synopsis "Typeset source code listings using LaTeX")
-      (description
-       "The package enables the user to typeset programs (programming code)
+  (package
+    (name "texlive-listings")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/listings/" "source/latex/listings/"
+                   "tex/latex/listings/")
+             (base32
+              "15dnm0j86305x84ss3ymhhcczcw45b2liq01vrab6fj204wzsahk")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments
+     ;; Do not build intermediate "lstdrvrs.ins".
+     (list #:build-targets '(list "listings.ins")))
+    (propagated-inputs
+     (list texlive-fancyvrb texlive-hyperref texlive-url))
+    (home-page "https://ctan.org/pkg/listings";)
+    (synopsis "Typeset source code listings using LaTeX")
+    (description
+     "The package enables the user to typeset programs (programming code)
 within LaTeX; the source code is read directly by TeX---no front-end processor
 is needed.  Keywords, comments and strings can be typeset using different
 styles.  Support for @code{hyperref} is provided.")
-      (license license:lppl1.3+))))
+    (license license:lppl1.3+)))
 
 (define-public texlive-listingsutf8
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]