guix-commits
[Top][All Lists]
Advanced

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

244/416: gnu: texlive-fancyhdr: Refresh package definition.


From: guix-commits
Subject: 244/416: gnu: texlive-fancyhdr: Refresh package definition.
Date: Sun, 28 May 2023 02:32:56 -0400 (EDT)

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

commit 43c3f9c3261cb6af19cf1b349df77114133b9523
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:19:46 2023 +0200

    gnu: texlive-fancyhdr: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-fancyhdr): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 41 ++++++++++++++++++-----------------------
 1 file changed, 18 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8f04550b68..3fa4dd5992 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6798,29 +6798,24 @@ floats, center, flushleft, and flushright, lists, and 
pages.")
 (define-deprecated-package texlive-latex-fancybox texlive-fancybox)
 
 (define-public texlive-fancyhdr
-  (let ((template (simple-texlive-package
-                   "texlive-fancyhdr"
-                   (list "doc/latex/fancyhdr/"
-                         "source/latex/fancyhdr/"
-                         "tex/latex/fancyhdr/")
-                   (base32
-                    "15fainwxs22gg4xhwsv1vmjgdhg34dbkir26nnk4pb6jprpwb83f"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/fancyhdr")
-         ((#:build-targets _ '())
-          #~(list "fancyhdr.ins"))))
-      (home-page "https://www.ctan.org/pkg/fancyhdr";)
-      (synopsis "Extensive control of page headers and footers in LaTeX2e")
-      (description
-       "This package provides extensive facilities, both for constructing
-headers and footers, and for controlling their use (for example, at times when
-LaTeX would automatically change the heading style in use).")
-      (license license:lppl))))
+  (package
+    (name "texlive-fancyhdr")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/fancyhdr/" "source/latex/fancyhdr/"
+                   "tex/latex/fancyhdr/")
+             (base32
+              "15fainwxs22gg4xhwsv1vmjgdhg34dbkir26nnk4pb6jprpwb83f")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/fancyhdr";)
+    (synopsis "Extensive control of page headers and footers in LaTeX2e")
+    (description
+     "The package provides extensive facilities, both for constructing headers
+and footers, and for controlling their use (for example, at times when LaTeX
+would automatically change the heading style in use).")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-latex-fancyhdr texlive-fancyhdr)
 



reply via email to

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