guix-commits
[Top][All Lists]
Advanced

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

200/416: gnu: texlive-units: Refresh package definition.


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

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

commit 9e7d953daea5731f5033dcf1abffb92392c7771e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 19:40:35 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c9593eab7b..12d802d3cb 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10888,22 +10888,24 @@ of the visual appearance.")
       (license license:lppl1.3+))))
 
 (define-public texlive-units
-  (let ((template (simple-texlive-package
-                   "texlive-units"
-                   (list "/doc/latex/units/"
-                         "/tex/latex/units/")
-                   (base32
-                    "1ia1vzy8dp7pdvmawwnmh9lmkajmpnnh62dixrjpb6mnxq118bfd")
-                   #:trivial? #t)))
-    (package
-      (inherit template)
-      (home-page "http://www.ctan.org/pkg/units";)
-      (synopsis "Typeset physical units and fractions")
-      (description "@code{units} is a package for typesetting physical
-units in a standard-looking way.  The package is based upon
-@code{nicefrac}, a package for typing fractions.  @code{nicefrac} is
-included in the @code{units} bundle.")
-      (license license:gpl3+))))
+  (package
+    (name "texlive-units")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/units/" "source/latex/units/"
+                   "tex/latex/units/")
+             (base32
+              "1mrdsg55f40cvarrx84gbhrnsk8mlv915nll17lnfzfapgmvjsbl")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/units";)
+    (synopsis "Typeset physical units and fractions")
+    (description "@code{units} is a package for typesetting physical units in
+a standard-looking way.  The package is based upon @code{nicefrac}, a package
+for typing fractions.  @code{nicefrac} is included in the @code{units}
+bundle.")
+    (license license:gpl3+)))
 
 (define-public texlive-microtype
   (package



reply via email to

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