guix-commits
[Top][All Lists]
Advanced

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

279/418: gnu: texlive-filecontents: Refresh package definition.


From: guix-commits
Subject: 279/418: gnu: texlive-filecontents: Refresh package definition.
Date: Fri, 2 Jun 2023 17:25:35 -0400 (EDT)

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

commit f0ab624a24c8a25d0b3eb3dc68ab72c673df77c1
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 16 00:20:02 2023 +0200

    gnu: texlive-filecontents: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-filecontents): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a30246bf79..7913c4c61f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3454,29 +3454,29 @@ a process to convert the EPS to PDF, using the script 
@command{epstopdf}.")
 (define-deprecated-package texlive-latex-epstopdf-pkg texlive-epstopdf-pkg)
 
 (define-public texlive-filecontents
-  (let ((template (simple-texlive-package
-                   "texlive-filecontents"
-                   (list "doc/latex/filecontents/"
-                         "source/latex/filecontents/"
-                         "tex/latex/filecontents/")
-                   (base32
-                    "0ifhqfdzx91hrmndhg5441rpmv9k4lxrql02kd5yx75xpplxryzw"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '()) "latex/filecontents")))
-      (home-page "https://ctan.org/pkg/filecontents";)
-      (synopsis "Create an external file from within a LaTeX document")
-      (description
-       "LaTeX2e's @code{filecontents} and @code{filecontents*} environments
+  (package
+    (name "texlive-filecontents")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/filecontents/"
+                   "source/latex/filecontents/"
+                   "tex/latex/filecontents/")
+             (base32
+              "0ifhqfdzx91hrmndhg5441rpmv9k4lxrql02kd5yx75xpplxryzw")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/filecontents";)
+    (synopsis "Create an external file from within a LaTeX document")
+    (description
+     "LaTeX2e's @code{filecontents} and @code{filecontents*} environments
 enable a LaTeX source file to generate external files as it runs through
 LaTeX.  However, there are two limitations of these environments: they refuse
 to overwrite existing files, and they can only be used in the preamble of
 a document.  The filecontents package removes these limitations, letting you
 overwrite existing files and letting you use @code{filecontents}
 @code{filecontents*} anywhere.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-latex-filecontents texlive-filecontents)
 



reply via email to

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