[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
34/47: gnu: Add texlive-latex-filemod.
From: |
Ricardo Wurmus |
Subject: |
34/47: gnu: Add texlive-latex-filemod. |
Date: |
Mon, 17 Jul 2017 08:04:12 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 893e3fc1c091fef89ed88f1aa87bd74814cdda08
Author: Ricardo Wurmus <address@hidden>
Date: Tue Jul 11 12:04:01 2017 +0200
gnu: Add texlive-latex-filemod.
* gnu/packages/tex.scm (texlive-latex-filemod): New variable.
---
gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4c3d154..f54b840 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1845,6 +1845,44 @@ without affecting the structure of the list (this works
for @code{itemize} and
@code{enumerate} lists, and numbered lists remain in sequence).")
(license license:lppl)))
+(define-public texlive-latex-filemod
+ (package
+ (name "texlive-latex-filemod")
+ (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/filemod"))
+ (revision %texlive-revision)))
+ (sha256
+ (base32
+ "0vpxilfw69xv78f03g0j0zw0bw4qcn36whqp8phcq48qk1ax2kr2"))))
+ (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/filemod")))
+ (mkdir-p target)
+ (copy-recursively (assoc-ref %build-inputs "source") target)
+ #t))))
+ (home-page "http://www.ctan.org/pkg/filemod")
+ (synopsis "Provide file modification times, and compare them")
+ (description
+ "This package provides macros to read and compare the modification dates
+of files. The files may be @code{.tex} files, images or other files (as long
+as they can be found by LaTeX). It uses the @code{\\pdffilemoddate} primitive
+of pdfLaTeX to find the file modification date as PDF date string, parses the
+string and returns the value to the user. The package will also work for DVI
+output with recent versions of the LaTeX compiler which uses pdfLaTeX in DVI
+mode. The functionality is provided by purely expandable macros or by faster
+but non-expandable ones.")
+ (license license:lppl1.3+)))
+
(define-public texlive-latex-natbib
(package
(name "texlive-latex-natbib")
- 37/47: gnu: Add texlive-latex-trimspaces., (continued)
- 37/47: gnu: Add texlive-latex-trimspaces., Ricardo Wurmus, 2017/07/17
- 40/47: gnu: Add texlive-fontname., Ricardo Wurmus, 2017/07/17
- 39/47: gnu: python-ipython: Use texlive-union., Ricardo Wurmus, 2017/07/17
- 42/47: gnu: texlive-dvips: Install font maps., Ricardo Wurmus, 2017/07/17
- 33/47: gnu: Add texlive-latex-environ., Ricardo Wurmus, 2017/07/17
- 47/47: gnu: Add sooperlooper., Ricardo Wurmus, 2017/07/17
- 44/47: gnu: Add texlive-fonts-txfonts., Ricardo Wurmus, 2017/07/17
- 24/47: gnu: Add texlive-latex-mdwtools., Ricardo Wurmus, 2017/07/17
- 30/47: gnu: Add texlive-latex-wrapfig., Ricardo Wurmus, 2017/07/17
- 36/47: gnu: Add texlive-latex-psfrag., Ricardo Wurmus, 2017/07/17
- 34/47: gnu: Add texlive-latex-filemod.,
Ricardo Wurmus <=
- 41/47: gnu: texlive-union: Add texlive-fontname to defaults., Ricardo Wurmus, 2017/07/17
- 23/47: gnu: Add texlive-latex-framed., Ricardo Wurmus, 2017/07/17
- 27/47: gnu: Add texlive-latex-tabulary., Ricardo Wurmus, 2017/07/17
- 38/47: gnu: Add texlive-latex-pstool., Ricardo Wurmus, 2017/07/17
- 46/47: gnu: texlive-union: Silence union-build., Ricardo Wurmus, 2017/07/17
- 28/47: gnu: Add texlive-latex-threeparttable., Ricardo Wurmus, 2017/07/17