guix-commits
[Top][All Lists]
Advanced

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

89/109: gnu: Add texlive-filemod.


From: guix-commits
Subject: 89/109: gnu: Add texlive-filemod.
Date: Tue, 16 Jul 2019 08:22:53 -0400 (EDT)

rekado pushed a commit to branch wip-texlive
in repository guix.

commit 0b42338b132af4bfa18fd5f75862401e86d7c8c3
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Jul 14 23:00:36 2019 +0200

    gnu: Add texlive-filemod.
    
    * gnu/packages/tex.scm (texlive-filemod): New variable.
    (texlive-latex-filemod): Deprecate package.
---
 gnu/packages/tex.scm | 37 ++++++++++++-------------------------
 1 file changed, 12 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7fb1e71..3d2b610 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3832,32 +3832,16 @@ 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
+(define-public texlive-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)))
-              (file-name (string-append name "-" version "-checkout"))
-              (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))))
+    (inherit (simple-texlive-package
+              "texlive-filemod"
+              (list "/doc/latex/filemod/"
+                    "/tex/latex/filemod/"
+                    "/tex/generic/filemod/")
+              (base32
+               "1snsj7kblkj1ig3x3845lsypz7ab04lf0dcpdh946xakgjnz4fb5")
+              #:trivial? #t))
     (home-page "https://www.ctan.org/pkg/filemod";)
     (synopsis "Provide file modification times, and compare them")
     (description
@@ -3871,6 +3855,9 @@ mode.  The functionality is provided by purely expandable 
macros or by faster
 but non-expandable ones.")
     (license license:lppl1.3+)))
 
+(define-public texlive-latex-filemod
+  (deprecated-package "texlive-latex-filemod" texlive-filemod))
+
 (define-public texlive-latex-ifplatform
   (package
     (name "texlive-latex-ifplatform")



reply via email to

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