guix-commits
[Top][All Lists]
Advanced

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

67/435: gnu: texlive-stringenc: Fix build.


From: guix-commits
Subject: 67/435: gnu: texlive-stringenc: Fix build.
Date: Tue, 6 Jun 2023 11:39:17 -0400 (EDT)

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

commit d89cd7c5e8a033a23f1582dcee63038004bea00b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 14:01:26 2023 +0200

    gnu: texlive-stringenc: Fix build.
    
    * gnu/packages/tex.scm (texlive-stringenc): Remove `simple-texlive-package' 
call.
    [source]: Add missing locations.
---
 gnu/packages/tex.scm | 37 +++++++++++++++++--------------------
 1 file changed, 17 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a11b35ce69..784f3d022c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4095,27 +4095,24 @@ default is a stub that just loads @code{graphicx}.")
     (license license:lppl1.3c+)))
 
 (define-public texlive-stringenc
-  (let ((template (simple-texlive-package
-                   "texlive-stringenc"
-                   (list "/doc/latex/stringenc/README.md"
-                         "/source/latex/stringenc/stringenc.dtx")
-                   (base32
-                    "19sfi5jxldxmy79pxmapmgmn3iknf8wjczasvlrrwv0gyycxdzhw"))))
-    (package
-      (inherit template)
-      (outputs '("doc" "out"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ #t)
-          "generic/stringenc")
-         ((#:build-targets _ #t)
-          '(list "stringenc.dtx"))))
-      (home-page "https://www.ctan.org/pkg/stringenc";)
-      (synopsis "Converting a string between different encodings")
-      (description
-       "This package provides @code{\\StringEncodingConvert} for converting a
+  (package
+    (name "texlive-stringenc")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/stringenc/"
+                   "source/latex/stringenc/"
+                   "tex/generic/stringenc/")
+             (base32
+              "1pz9fgn3zc1brbpkw2kkphsv8q6vpvbn51n0smmfl1n2m97fni9j")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/stringenc";)
+    (synopsis "Converting a string between different encodings")
+    (description
+     "This package provides @code{\\StringEncodingConvert} for converting a
 string between different encodings.  Both LaTeX and plain-TeX are supported.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-public texlive-l3build
   (let ((template (simple-texlive-package



reply via email to

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