guix-commits
[Top][All Lists]
Advanced

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

366/452: gnu: texlive-tabu: Remove SIMPLE-TEXLIVE-PACKAGE call.


From: guix-commits
Subject: 366/452: gnu: texlive-tabu: Remove SIMPLE-TEXLIVE-PACKAGE call.
Date: Fri, 9 Jun 2023 13:44:02 -0400 (EDT)

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

commit 5cb01aa36b0736800f3a4fd53dcfeafc9a26595a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu May 18 13:49:23 2023 +0200

    gnu: texlive-tabu: Remove SIMPLE-TEXLIVE-PACKAGE call.
    
    * gnu/packages/tex.scm (texlive-tabu!): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-TOOLS.
    [description]: Shorten it and use proper Texinfo syntax.
---
 gnu/packages/tex.scm | 50 +++++++++++++++++++++-----------------------------
 1 file changed, 21 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4f891e9666..858adfae2e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10974,35 +10974,27 @@ the engine in use.")
 (define-deprecated-package texlive-generic-ifxetex texlive-iftex)
 
 (define-public texlive-tabu
-  (let ((template
-         (simple-texlive-package
-          "texlive-tabu"
-          (list "doc/latex/tabu/"
-                "source/latex/tabu/"
-                "tex/latex/tabu/")
-          (base32 "0mixyrqavipq4ni38z42x3579cdjbz54cp2qqb4q4yhfbl0a4pka"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/tabu")
-         ((#:build-targets _ '())
-          '(list "tabu.dtx"))))
-      (propagated-inputs (list texlive-varwidth))
-      (home-page "https://ctan.org/macros/latex/contrib/tabu";)
-      (synopsis "Flexible LaTeX tabulars")
-      (description
-       "The package provides an environment, tabu, which will make any sort of
-tabular, and an environment longtabu which provides the facilities of tabu in
-a modified longtable environment.  The package requires array, xcolor for
-coloured rules in tables, and colortbl for coloured cells.  The longtabu
-environment further requires that longtable be loaded.  The package itself
-does not load any of these packages for the user.  The tabu environment may be
-used in place of @code{tabular}, @code{tabular*} and @code{tabularx}
-environments, as well as the @code{array} environment in maths mode.")
-      (license license:lppl1.3+))))
+  (package
+    (name "texlive-tabu")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/tabu/"
+                   "source/latex/tabu/"
+                   "tex/latex/tabu/")
+             (base32 "0mixyrqavipq4ni38z42x3579cdjbz54cp2qqb4q4yhfbl0a4pka")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-tools
+           texlive-varwidth))
+    (home-page "https://ctan.org/macros/latex/contrib/tabu";)
+    (synopsis "Flexible LaTeX tabulars")
+    (description
+     "The package provides an environment, @code{tabu}, which will make any
+sort of tabular, and an environment @code{longtabu} which provides the
+facilities of @code{tabu} in a modified @code{longtable} environment.")
+    (license license:lppl1.3+)))
 
 (define-public texlive-xkeyval
   (package



reply via email to

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