guix-commits
[Top][All Lists]
Advanced

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

12/93: gnu: Add texlive-compare.


From: guix-commits
Subject: 12/93: gnu: Add texlive-compare.
Date: Thu, 20 Jul 2023 05:21:14 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 1810b5b12d3ad123294e88caf46c0f12c1943544
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu Jul 20 10:45:22 2023 +0200

    gnu: Add texlive-compare.
    
    * gnu/packages/tex.scm (texlive-compare): New variable.
---
 gnu/packages/tex.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 5ed94cd03a..e53c3f9ab9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1428,6 +1428,25 @@ Interfaces for Plain TeX, ConTeXt and LaTeX are 
provided.")
      "This package provides support for colour separation when using Dvips.")
     (license license:public-domain)))
 
+(define-public texlive-compare
+  (package
+    (name "texlive-compare")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "tex/generic/compare/")
+             (base32
+              "0isr7gmskv55cr4f1fa7s478v6fh65q9ijxkmbpxj0448g9817w4")))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/compare";)
+    (synopsis "Compare two strings")
+    (description
+     "The file defines a macro @code{\\compare}, which takes two arguments;
+the macro expands to @samp{-1}, @samp{0}, @samp{1}, according as the first
+argument is less than, equal to, or greater than the second argument.  Sorting
+is alphabetic, using ASCII collating order.")
+    (license license:public-domain)))
+
 (define-public texlive-dosepsbin
   (package
     (name "texlive-dosepsbin")



reply via email to

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