guix-commits
[Top][All Lists]
Advanced

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

258/452: gnu: texlive-bigintcalc: Refresh package definition.


From: guix-commits
Subject: 258/452: gnu: texlive-bigintcalc: Refresh package definition.
Date: Fri, 9 Jun 2023 13:43:32 -0400 (EDT)

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

commit 84adc6ef777d44e088bc8648a37d99f7b4d06047
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:44:09 2023 +0200

    gnu: texlive-bigintcalc: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-bigintcalc): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 44 ++++++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 70e192cc33..1f4ce96f5d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9495,30 +9495,26 @@ be used either with LaTeX or with plain TeX.")
 (define-deprecated-package texlive-generic-atbegshi texlive-atbegshi)
 
 (define-public texlive-bigintcalc
-  (let ((template (simple-texlive-package
-                   "texlive-bigintcalc"
-                   (list "doc/latex/bigintcalc/"
-                         "source/latex/bigintcalc/"
-                         "tex/generic/bigintcalc/")
-                   (base32
-                    "1cyv4mcvx83ab782l6h2f86a63ipm845r7hv1m6f1z2336vy7rc5"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/bigintcalc")
-         ((#:build-targets _ '())
-          #~(list "bigintcalc.dtx"))))
-      (propagated-inputs
-       (list texlive-pdftexcmds))
-      (home-page "https://www.ctan.org/pkg/bigintcalc";)
-      (synopsis "Integer calculations on very large numbers")
-      (description
-       "This package provides expandable arithmetic operations with big
-integers that can exceed TeX's number limits.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-bigintcalc")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/bigintcalc/"
+                   "source/latex/bigintcalc/"
+                   "tex/generic/bigintcalc/")
+             (base32
+              "1cyv4mcvx83ab782l6h2f86a63ipm845r7hv1m6f1z2336vy7rc5")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-pdftexcmds))
+    (home-page "https://ctan.org/pkg/bigintcalc";)
+    (synopsis "Integer calculations on very large numbers")
+    (description
+     "This package provides expandable arithmetic operations with big integers
+that can exceed TeX's number limits.")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-generic-bigintcalc texlive-bigintcalc)
 



reply via email to

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