guix-commits
[Top][All Lists]
Advanced

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

143/435: gnu: texlive-substr: Refresh package definition.


From: guix-commits
Subject: 143/435: gnu: texlive-substr: Refresh package definition.
Date: Tue, 6 Jun 2023 11:39:33 -0400 (EDT)

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

commit 8bdd9994f767b3fe68003bc960d08eab6402c55f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 00:06:31 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 503965c77d..0b4e1496b7 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12938,24 +12938,22 @@ recurrences of, a substring.  The package works 
equally in Plain TeX and LaTeX
 
 (define-public texlive-substr
   (package
-    (inherit (simple-texlive-package
-              "texlive-substr"
-              (list "doc/latex/substr/"
-                    "tex/latex/substr/")
-              (base32
-               "0kfd4kq5yrg65f2mpric1cs1xr416wgj9bdixpibgjsdg5fb73sw")
-              #:trivial? #t))
-    (home-page "https://www.ctan.org/pkg/substr";)
+    (name "texlive-substr")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/substr/" "tex/latex/substr/")
+             (base32
+              "0kfd4kq5yrg65f2mpric1cs1xr416wgj9bdixpibgjsdg5fb73sw")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/substr";)
     (synopsis "Deal with substrings in strings")
     (description
-     "The package provides commands to deal with substrings of strings.  Macros
-are provided to:
-
-@itemize
-@item determine if one string is a substring of another,
-@item return the parts of a string before or after a substring, and
-@item count the number of occurrences of a substring.
-@end itemize")
+     "The package provides commands to deal with substrings of strings.
+Macros are provided to determine if one string is a substring of another,
+return the parts of a string before or after a substring, and count the number
+of occurrences of a substring.")
     (license license:lppl1.0+)))
 
 (define-public texlive-totcount



reply via email to

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