guix-commits
[Top][All Lists]
Advanced

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

331/418: gnu: texlive-hardwrap: Refresh package definition.


From: guix-commits
Subject: 331/418: gnu: texlive-hardwrap: Refresh package definition.
Date: Mon, 29 May 2023 17:39:36 -0400 (EDT)

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

commit e13bd41c848455dacb637f313c39ee50153089fe
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 16 23:45:16 2023 +0200

    gnu: texlive-hardwrap: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-hardwrap): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-IFPLATFORM, TEXLIVE-IFTEX, 
TEXLIVE-PDFTEXCMDS.
---
 gnu/packages/tex.scm | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9beed8807e..3aaca0f6af 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1957,22 +1957,29 @@ rest of the mathematics produced by (AmS-)LaTeX.")
 
 (define-public texlive-hardwrap
   (package
-    (inherit (simple-texlive-package
-              "texlive-hardwrap"
-              (list "doc/latex/hardwrap/"
-                    "tex/latex/hardwrap/"
-                    "source/latex/hardwrap/")
-              (base32
-               "0ql3xml1ccll44q945n7w72p6d51y5wcrkawi7cg621gy5d6wzx5")
-              #:trivial? #t))
-    (home-page "https://ctan.org/macros/latex/contrib/hardwrap";)
+    (name "texlive-hardwrap")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/hardwrap/" "source/latex/hardwrap/"
+                   "tex/latex/hardwrap/")
+             (base32
+              "0ql3xml1ccll44q945n7w72p6d51y5wcrkawi7cg621gy5d6wzx5")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-ifplatform
+           texlive-iftex
+           texlive-pdftexcmds))
+    (home-page "https://ctan.org/pkg/hardwrap";)
     (synopsis "Hard wrap text to a certain character length")
     (description
-     "The package facilitates wrapping text to a specific character width, 
breaking
-lines by words rather than, as done by TeX, by characters.  The primary use for
-these facilities is to aid the generation of messages sent to the log file or
-console output to display messages to the user.  Package authors may also find
-this useful when writing out arbitrary text to an external file.")
+     "The package facilitates wrapping text to a specific character width,
+breaking lines by words rather than, as done by TeX, by characters.  The
+primary use for these facilities is to aid the generation of messages sent to
+the log file or console output to display messages to the user.  Package
+authors may also find this useful when writing out arbitrary text to an
+external file.")
     (license license:lppl1.3+)))
 
 (define-public texlive-helvetic



reply via email to

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