guix-commits
[Top][All Lists]
Advanced

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

367/458: gnu: texlive-sectsty: Remove SIMPLE-TEXLIVE-PACKAGE call.


From: guix-commits
Subject: 367/458: gnu: texlive-sectsty: Remove SIMPLE-TEXLIVE-PACKAGE call.
Date: Wed, 14 Jun 2023 05:23:17 -0400 (EDT)

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

commit 614be7b3a74a3390e72d1857403f7be312d38660
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu May 18 13:54:12 2023 +0200

    gnu: texlive-sectsty: Remove SIMPLE-TEXLIVE-PACKAGE call.
    
    * gnu/packages/tex.scm (texlive-sectsty!): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 858adfae2e..fb7406953f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11904,27 +11904,25 @@ Helvetica and Courier) in LaTeX using LY1 encoding.")
     (license license:lppl1.0+)))
 
 (define-public texlive-sectsty
-  (let ((template (simple-texlive-package
-                   "texlive-sectsty"
-                   (list "/doc/latex/sectsty/"
-                         "/source/latex/sectsty/")
-                   (base32
-                    "08m90j7cg6w46vnwgsp10clpj4l6c9a6l8dad20q3mnd32l84hbl"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/sectsty")
-         ((#:build-targets _ '())
-          ''("sectsty.ins"))
-         ((#:tex-format _ "latex") "latex")))
-      (home-page "https://www.ctan.org/pkg/sectsty";)
-      (synopsis "Control sectional headers")
-      (description "This is a LaTeX2ε package to help change the style of any 
or
-all of LaTeX's sectional headers in the article, book, or report classes.
-Examples include the addition of rules above or below a section title.")
-      (license license:lppl1.2+))))
+  (package
+    (name "texlive-sectsty")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/sectsty/" "source/latex/sectsty/"
+                   "tex/latex/sectsty/")
+             (base32
+              "1h7zi622s84vqjl6bi4g6iv639jz9m2imz4g7y1qpc0zdw1mlqv4")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments (list #:tex-format "latex"))
+    (home-page "https://www.ctan.org/pkg/sectsty";)
+    (synopsis "Control sectional headers")
+    (description
+     "This is a LaTeX2ε package to help change the style of any or all of
+LaTeX's sectional headers in the article, book, or report classes.  Examples
+include the addition of rules above or below a section title.")
+    (license license:lppl1.2+)))
 
 (define-public texlive-morefloats
   (let ((template (simple-texlive-package



reply via email to

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