guix-commits
[Top][All Lists]
Advanced

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

239/435: gnu: texlive-capt-of: Refresh package definition.


From: guix-commits
Subject: 239/435: gnu: texlive-capt-of: Refresh package definition.
Date: Tue, 6 Jun 2023 11:39:49 -0400 (EDT)

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

commit 57fa5bf33c7591e4de84f1487ea50cf9aa766a01
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 22:51:05 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9720f784f0..caec68b3b5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5978,28 +5978,23 @@ including files to the root of the tree).  The package 
supersedes FiNK.")
     (license license:public-domain)))
 
 (define-public texlive-capt-of
-  (let ((template
-         (simple-texlive-package
-          "texlive-capt-of"
-          (list "doc/latex/capt-of/"
-                "source/latex/capt-of/"
-                "tex/latex/capt-of/")
-          (base32 "0bf0cdd9ca3kkqxqqkq6jalh5ybs60l80l5gfkl2whk2v4bnzfvz"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/capt-of")
-         ((#:build-targets _ '())
-          '(list "capt-of.ins"))))
-      (home-page "https://www.ctan.org/pkg/capt-of";)
-      (synopsis "Captions on more than floats")
-      (description
-       "This package defines a command @code{\\captionof} for putting a caption
+  (package
+    (name "texlive-capt-of")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/capt-of/" "source/latex/capt-of/"
+                   "tex/latex/capt-of/")
+             (base32
+              "0bf0cdd9ca3kkqxqqkq6jalh5ybs60l80l5gfkl2whk2v4bnzfvz")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://www.ctan.org/pkg/capt-of";)
+    (synopsis "Captions on more than floats")
+    (description
+     "This package defines a command @code{\\captionof} for putting a caption
 to something that's not a float.")
-      (license license:lppl))))
+    (license license:lppl)))
 
 (define-deprecated-package texlive-latex-capt-of texlive-capt-of)
 



reply via email to

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