guix-commits
[Top][All Lists]
Advanced

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

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


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

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

commit 2a35cfbd827824f8df46ef04c806d1568d8ba233
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 15d4579b53..0114ac0bf3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12906,25 +12906,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]