summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-20 10:56:26 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-20 11:17:35 +0200
commit7cba4caa1e53777775afcb88328109a90443e442 (patch)
tree835c2fb2d6bfb4ec54c4ac8b31e6de3c7640c33e
parenta3d88bfc75541e27532aa40d9b8ea227cb76b573 (diff)
downloadguix-7cba4caa1e53777775afcb88328109a90443e442.tar.gz
gnu: Add texlive-modulus.
* gnu/packages/tex.scm (texlive-modulus): New variable.
-rw-r--r--gnu/packages/tex.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index df0a8d65c4..9c6eff6e8a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3122,6 +3122,29 @@ of TeX and one of Metafont are needed.")
     ;; when modified.
     (license (license:fsf-free "file://tex/generic/midnight/border.tex"))))
 
+(define-public texlive-modulus
+  (package
+    (name "texlive-modulus")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/modulus/"
+                   "source/generic/modulus/"
+                   "tex/generic/modulus/")
+             (base32
+              "07sa8bnbgclfz4p3sb00cl1b3i51nvhhlmb4p6hcyaca1n1xsn8d")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/modulus")
+    (synopsis "Non-destructive modulus and integer quotient operator for TeX")
+    (description
+     "The package provides an easy way to take the remainder of a division
+operation without destroying the values of the counters containing the
+dividend and divisor.  It also provides a way to take the integer quotient of
+a division operation without destroying the values of the counters containing
+the dividend and divisor.")
+    (license license:lppl1.3c)))
+
 (define-public texlive-tex
   (package
     (name "texlive-tex")