guix-commits
[Top][All Lists]
Advanced

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

93/109: gnu: Add texlive-etoolbox.


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

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

commit 9c30d2d8939937422dbdaf82a3aa1c49a0b6747f
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Jul 14 23:15:20 2019 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 91d8737..522d203 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4103,32 +4103,15 @@ hyperlink to the target of the DOI.")
 (define-public texlive-latex-doi
   (deprecated-package "texlive-latex-doi" texlive-doi))
 
-(define-public texlive-latex-etoolbox
+(define-public texlive-etoolbox
   (package
-    (name "texlive-latex-etoolbox")
-    (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/etoolbox"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "1agmq6bf8wzcd77n20ng8bl4kh69cg5f6sjniii7bcw4llhd3nc8"))))
-    (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/etoolbox")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
+    (inherit (simple-texlive-package
+              "texlive-etoolbox"
+              (list "/doc/latex/etoolbox/"
+                    "/tex/latex/etoolbox/")
+              (base32
+               "1qg4x5r4ibinl6zy5lq70lv4zcrjsn54n6hwv31k5kl7mwv0mvr3")
+              #:trivial? #t))
     (home-page "https://www.ctan.org/pkg/etoolbox";)
     (synopsis "e-TeX tools for LaTeX")
     (description
@@ -4141,6 +4124,9 @@ some LaTeX kernel commands; nevertheless, the package 
will not modify any part
 of the LaTeX kernel.")
     (license license:lppl1.3+)))
 
+(define-public texlive-latex-etoolbox
+  (deprecated-package "texlive-latex-etoolbox" texlive-etoolbox))
+
 (define-public texlive-latex-fncychap
   (package
     (name "texlive-latex-fncychap")



reply via email to

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