guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 381/452: gnu: texlive-breqn: Remove SIMPLE-TEXLIVE-PACKAGE call.
Date: Fri, 9 Jun 2023 13:44:05 -0400 (EDT)

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

commit aaa66f6354ac134e268d642a89de8cbab97f090c
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 a1861761ca..0dc6086886 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -13446,31 +13446,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]