guix-commits
[Top][All Lists]
Advanced

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

263/409: gnu: texlive-intcalc: Refresh package definition.


From: guix-commits
Subject: 263/409: gnu: texlive-intcalc: Refresh package definition.
Date: Sat, 20 May 2023 04:02:58 -0400 (EDT)

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

commit b921dfa43e2f9004c90d14654b097938edf94368
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:47:26 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ce62ee9e3d..7dd056d0e6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9672,28 +9672,23 @@ implementations.")
 (define-deprecated-package texlive-generic-infwarerr texlive-infwarerr)
 
 (define-public texlive-intcalc
-  (let ((template (simple-texlive-package
-                   "texlive-intcalc"
-                   (list "doc/latex/intcalc/"
-                         "source/latex/intcalc/"
-                         "tex/generic/intcalc/")
-                   (base32
-                    "15alwp9cr8wasfajs3p201p7nqml37vly9mpg1j5l6xv95javk7x"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/intcalc")
-         ((#:build-targets _ '())
-          #~(list "intcalc.dtx"))))
-      (home-page "https://www.ctan.org/pkg/intcalc";)
-      (synopsis "Expandable arithmetic operations with integers")
-      (description
-       "This package provides expandable arithmetic operations with integers,
+  (package
+    (name "texlive-intcalc")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/intcalc/" "source/latex/intcalc/"
+                   "tex/generic/intcalc/")
+             (base32
+              "15alwp9cr8wasfajs3p201p7nqml37vly9mpg1j5l6xv95javk7x")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/intcalc";)
+    (synopsis "Expandable arithmetic operations with integers")
+    (description
+     "This package provides expandable arithmetic operations with integers,
 using the e-TeX extension @code{\\numexpr} if it is available.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-generic-intcalc texlive-intcalc)
 



reply via email to

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