guix-commits
[Top][All Lists]
Advanced

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

381/435: gnu: texlive-breqn: Remove SIMPLE-TEXLIVE-PACKAGE call.


From: guix-commits
Subject: 381/435: gnu: texlive-breqn: Remove SIMPLE-TEXLIVE-PACKAGE call.
Date: Tue, 6 Jun 2023 11:40:30 -0400 (EDT)

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

commit aa4a6a6ac9d82cc7633672dcfaf0182e92be80a8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu May 18 14:25:12 2023 +0200

    gnu: texlive-breqn: Remove SIMPLE-TEXLIVE-PACKAGE call.
    
    * gnu/packages/tex.scm (texlive-breqn!): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-AMSFONTS, TEXLIVE-AMSMATH, 
TEXLIVE-GRAPHICS,
    TEXLIVE-L3KERNEL, TEXLIVE-TOOLS.
    [home-page]: Use CTAN URL.
    [description]: Shorten it.
---
 gnu/packages/tex.scm | 52 +++++++++++++++++++++++++++-------------------------
 1 file changed, 27 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 154c110dc3..e0d3534025 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -13454,31 +13454,33 @@ abstract in a two column paper.")
     (license license:lppl)))
 
 (define-public texlive-breqn
-  (let ((template (simple-texlive-package
-                   "texlive-breqn"
-                   '("/doc/latex/breqn/"
-                     "/source/latex/breqn/")
-                   (base32
-                    "186cypxiyf30fq6dxvvlbwn5yx7c8d4cd243wvvb3243n5l4rpl3"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ #f)
-          "latex/breqn")
-         ((#:build-targets _ #t)
-          #~(list "breqnbundle.ins"))))
-      (home-page "https://wspr.io/breqn/";)
-      (synopsis "Automatic line breaking of displayed equations")
-      (description "This package provides solutions to a number of common
-difficulties in writing displayed equations and getting high-quality output.
-The single most ambitious goal of the package is to support automatic
-linebreaking of displayed equations.  Such linebreaking cannot be done without
-substantial changes under the hood in the way formulae are processed; the code
-must be watched carefully, keeping an eye on possible glitches.  The bundle
-also contains the @code{flexisym} and @code{mathstyle} packages, which are
-both designated as support for @code{breqn}.")
-      (license license:lppl1.3+))))
+  (package
+    (name "texlive-breqn")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/breqn/" "source/latex/breqn/"
+                   "tex/latex/breqn/")
+             (base32
+              "0w6jk97jmgwgshr9a3isbpwsh0fhrkzp36gywdiai1f5x2sldmpv")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-amsfonts
+           texlive-amsmath
+           texlive-graphics
+           texlive-l3kernel
+           texlive-tools))
+    (home-page "https://ctan.org/pkg/breqn";)
+    (synopsis "Automatic line breaking of displayed equations")
+    (description
+     "This package provides solutions to a number of common difficulties in
+writing displayed equations and getting high-quality output.  The single most
+ambitious goal of the package is to support automatic linebreaking of
+displayed equations.  The bundle also contains the @code{flexisym} and
+@code{mathstyle} packages, which are both designated as support for
+@code{breqn}.")
+    (license license:lppl1.3+)))
 
 (define-public texlive-breakurl
   (package



reply via email to

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