me
/
guix
Archived
1
0
Fork 0

gnu: Add texlive-filemod.

* gnu/packages/tex.scm (texlive-filemod): New variable.
(texlive-latex-filemod): Deprecate package.
master
Ricardo Wurmus 2019-07-14 23:00:36 +02:00
parent c97d1a9123
commit 1333198da8
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 12 additions and 25 deletions

View File

@ -3853,32 +3853,16 @@ without affecting the structure of the list (this works for @code{itemize} and
@code{enumerate} lists, and numbered lists remain in sequence).") @code{enumerate} lists, and numbered lists remain in sequence).")
(license license:lppl))) (license license:lppl)))
(define-public texlive-latex-filemod (define-public texlive-filemod
(package (package
(name "texlive-latex-filemod") (inherit (simple-texlive-package
(version (number->string %texlive-revision)) "texlive-filemod"
(source (origin (list "/doc/latex/filemod/"
(method svn-fetch) "/tex/latex/filemod/"
(uri (svn-reference "/tex/generic/filemod/")
(url (string-append "svn://www.tug.org/texlive/tags/"
%texlive-tag "/Master/texmf-dist/"
"/tex/latex/filemod"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32 (base32
"0vpxilfw69xv78f03g0j0zw0bw4qcn36whqp8phcq48qk1ax2kr2")))) "1snsj7kblkj1ig3x3845lsypz7ab04lf0dcpdh946xakgjnz4fb5")
(build-system trivial-build-system) #:trivial? #t))
(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 "https://www.ctan.org/pkg/filemod") (home-page "https://www.ctan.org/pkg/filemod")
(synopsis "Provide file modification times, and compare them") (synopsis "Provide file modification times, and compare them")
(description (description
@ -3892,6 +3876,9 @@ mode. The functionality is provided by purely expandable macros or by faster
but non-expandable ones.") but non-expandable ones.")
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-public texlive-latex-filemod
(deprecated-package "texlive-latex-filemod" texlive-filemod))
(define-public texlive-latex-ifplatform (define-public texlive-latex-ifplatform
(package (package
(name "texlive-latex-ifplatform") (name "texlive-latex-ifplatform")