guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: Add texlive-latex-eukdate.


From: Pierre Neidhardt
Subject: 03/06: gnu: Add texlive-latex-eukdate.
Date: Fri, 19 Oct 2018 09:18:40 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit 0e73c11bb23b47ca73707d7c528e0bdcf222635e
Author: Pierre Neidhardt <address@hidden>
Date:   Fri Oct 19 15:10:18 2018 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 064ec94..2d5e086 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4547,3 +4547,39 @@ It also ensures compatibility with the @code{media9} and 
@code{animate} packages
 space.  If there is not enough space between the command and the bottom of the
 page, a new page will be started.")
     (license license:lppl)))
+
+(define-public texlive-latex-eukdate
+  (package
+    (name "texlive-latex-eukdate")
+    (version (number->string %texlive-revision))
+    (source
+     (origin
+       (method svn-fetch)
+       (uri (svn-reference
+             (url (string-append "svn://www.tug.org/texlive/tags/"
+                                 %texlive-tag "/Master/texmf-dist/"
+                                 "/tex/latex/eukdate"))
+             (revision %texlive-revision)))
+       (file-name (string-append name "-" version "-checkout"))
+       (sha256
+        (base32
+         "18xan116l8w47v560bkw6nbhkrml7g04xrlzk3jrpc7qsyf3n5fz"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let ((target (string-append (assoc-ref %outputs "out")
+                                      "/share/texmf-dist/tex/latex/eukdate")))
+           (mkdir-p target)
+           (copy-recursively (assoc-ref %build-inputs "source") target)
+           #t))))
+    (home-page "https://www.ctan.org/pkg/eukdate";)
+    (synopsis "UK format dates, with weekday")
+    (description
+     "The package is used to change the format of @code{\\today}’s date,
+including the weekday, e.g., \"Saturday, 26 June 2008\", the 'UK format', which
+is preferred in many parts of the world, as distinct from that which is used in
address@hidden of the article class, \"June 26, 2008\", the 'US format'.")
+    (license license:lppl)))



reply via email to

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