guix-commits
[Top][All Lists]
Advanced

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

211/435: gnu: texlive-xypic: Refresh package definition.


From: guix-commits
Subject: 211/435: gnu: texlive-xypic: Refresh package definition.
Date: Tue, 6 Jun 2023 11:39:45 -0400 (EDT)

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

commit 6add361311fe680fefaf5e6649153359b2be4b43
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 21:38:48 2023 +0200

    gnu: texlive-xypic: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-xypic): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-GRAPHICS, TEXLIVE-IFTEX.
---
 gnu/packages/tex.scm | 51 +++++++++++++++++++++++++--------------------------
 1 file changed, 25 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7b40a64034..b56129a646 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10140,35 +10140,34 @@ glyphs.")
     (license license:lppl1.3+)))
 
 (define-public texlive-xypic
-  (let ((template (simple-texlive-package
-                   "texlive-xypic"
-                   (list "/doc/generic/xypic/"
-                         "/dvips/xypic/xy389dict.pro"
-                         "/fonts/enc/dvips/xypic/"
-                         "/fonts/map/dvips/xypic/xypic.map"
-
-                         "/fonts/source/public/xypic/"
-                         "/fonts/afm/public/xypic/"
-                         "/fonts/tfm/public/xypic/"
-                         "/fonts/type1/public/xypic/"
-                         "/tex/generic/xypic/")
-                   (base32
-                    "09b51bbm189xh7039h5n8nmab5nn2bybhh26qjn08763m80zdhjg")
-                   #:trivial? #t)))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:phases phases)
-          `(modify-phases ,phases
-             (delete 'reset-gzip-timestamps)))))
-      (home-page "https://www.ctan.org/pkg/xypic";)
-      (synopsis "Flexible diagramming macros")
-      (description "This is a package for typesetting a variety of graphs and
+  (package
+    (name "texlive-xypic")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/xypic/"
+                   "dvips/xypic/"
+                   "fonts/afm/public/xypic/"
+                   "fonts/enc/dvips/xypic/"
+                   "fonts/map/dvips/xypic/"
+                   "fonts/source/public/xypic/"
+                   "fonts/tfm/public/xypic/"
+                   "fonts/type1/public/xypic/"
+                   "tex/generic/xypic/")
+             (base32
+              "09b51bbm189xh7039h5n8nmab5nn2bybhh26qjn08763m80zdhjg")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-graphics texlive-iftex))
+    (home-page "https://ctan.org/pkg/xypic";)
+    (synopsis "Flexible diagramming macros")
+    (description
+     "This package provides a package for typesetting a variety of graphs and
 diagrams with TeX.  Xy-pic works with most formats (including LaTeX,
 AMS-LaTeX, AMS-TeX, and plain TeX).  The distribution includes Michael Barr's
 @code{diag} package, which was previously distributed stand-alone.")
-      (license license:gpl3+))))
+    (license license:gpl3+)))
 
 (define-deprecated-package texlive-fonts-xypic texlive-xypic)
 



reply via email to

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