summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-15 23:51:40 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:11:56 +0200
commitf2384113b76adb0b32ea88b0b6e16613b9970a6a (patch)
tree7e6fa3790625b7d92c47d348efcb69f3d753f392
parent1053084b23553b69c1666b810e574549f34a5fc5 (diff)
downloadguix-f2384113b76adb0b32ea88b0b6e16613b9970a6a.tar.gz
gnu: texlive-pdfescape: Refresh package definition.
* gnu/packages/tex.scm (texlive-pdfescape): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-LTXCMDS, TEXLIVE-PDFTEXCMDS.
-rw-r--r--gnu/packages/tex.scm40
1 files changed, 19 insertions, 21 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 961e40c5a4..f7b18887e5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9758,29 +9758,27 @@ plain TeX.")
 (define-deprecated-package texlive-generic-ltxcmds texlive-ltxcmds)
 
 (define-public texlive-pdfescape
-  (let ((template (simple-texlive-package
-                   "texlive-pdfescape"
-                   (list "doc/latex/pdfescape/"
-                         "source/latex/pdfescape/"
-                         "tex/generic/pdfescape/")
-                   (base32
-                    "16a0rdmpa4wxh6gyf46qwfgyh399rwdind2wc89phqd50ky9b5m4"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/pdfescape")
-         ((#:build-targets _ '())
-          #~(list "pdfescape.dtx"))))
-      (home-page "https://www.ctan.org/pkg/pdfescape")
-      (synopsis "pdfTeX's escape features for plain TeX")
-      (description
-       "This package implements pdfTeX's escape features (@code{\\pdfescapehex},
+  (package
+    (name "texlive-pdfescape")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/pdfescape/"
+                   "source/latex/pdfescape/"
+                   "tex/generic/pdfescape/")
+             (base32
+              "16a0rdmpa4wxh6gyf46qwfgyh399rwdind2wc89phqd50ky9b5m4")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-ltxcmds texlive-pdftexcmds))
+    (home-page "https://ctan.org/pkg/pdfescape")
+    (synopsis "Implements pdfTeX's escape features using TeX or e-TeX")
+    (description
+     "This package implements pdfTeX's escape features (@code{\\pdfescapehex},
 @code{\\pdfunescapehex}, @code{\\pdfescapename}, @code{\\pdfescapestring})
 using TeX or e-TeX.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-generic-pdfescape texlive-pdfescape)