guix-commits
[Top][All Lists]
Advanced

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

93/110: gnu: Add texlive-etoolbox.


From: guix-commits
Subject: 93/110: gnu: Add texlive-etoolbox.
Date: Tue, 23 Jul 2019 15:44:39 -0400 (EDT)

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

commit 3faa96ebe6051ef0b1e11d4b301468db71c7a515
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 7c7eef0..bb2227e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4124,32 +4124,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
@@ -4162,6 +4145,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]