guix-commits
[Top][All Lists]
Advanced

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

144/409: gnu: texlive-xstring: Refresh package definition.


From: guix-commits
Subject: 144/409: gnu: texlive-xstring: Refresh package definition.
Date: Sat, 20 May 2023 04:02:37 -0400 (EDT)

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

commit 944053a38fa6e96fe5426d97334385880bf87d2c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 00:08:12 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index fdbe72c875..7d6cd68ce8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12910,25 +12910,26 @@ UTF-8.  Namely the input encodings in @file{utf8.def} 
from package
       (license license:lppl1.3+))))
 
 (define-public texlive-xstring
-  (let ((template (simple-texlive-package
-                   "texlive-xstring"
-                   (list "/doc/generic/xstring/"
-                         "/tex/generic/xstring/")
-                   (base32
-                    "1azpq855kq1l4686bjp8haxim5c8wycz1b6lcg5q7x8kb4g9sppn")
-                   #:trivial? #t)))
-    (package
-      (inherit template)
-      (home-page "http://www.ctan.org/pkg/xstring";)
-      (synopsis "String manipulation for (La)TeX")
-      (description
-       "@code{xstring} package provides macros for manipulating strings --
+  (package
+    (name "texlive-xstring")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/xstring/" "tex/generic/xstring/")
+             (base32
+              "1azpq855kq1l4686bjp8haxim5c8wycz1b6lcg5q7x8kb4g9sppn")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/xstring";)
+    (synopsis "String manipulation for (La)TeX")
+    (description
+     "The @code{xstring} package provides macros for manipulating strings, 
i.e.,
 testing a string's contents, extracting substrings, substitution of substrings
 and providing numbers such as string length, position of, or number of
-recurrences of, a substring.  The package works equally in Plain TeX and LaTeX
-(though e-TeX is always required).  The strings to be processed may contain
-(expandable) macros.")
-      (license license:lppl1.3c))))
+recurrences of, a substring.  The package works equally in Plain TeX and
+LaTeX (though e-TeX is always required).  The strings to be processed may
+contain (expandable) macros.")
+    (license license:lppl1.3c)))
 
 (define-deprecated texlive-generic-xstring texlive-xstring)
 



reply via email to

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