aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-07-14 23:15:20 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-07-24 09:46:48 +0200
commit346354a18ebefee612ca8d2450a1009cc4c6196e (patch)
tree5311fac3dc069306bfd1788b327009db016de228 /gnu/packages/tex.scm
parentfb01a2965a707bcf17f5949c3ba734f296fe8520 (diff)
downloadguix-346354a18ebefee612ca8d2450a1009cc4c6196e.tar
guix-346354a18ebefee612ca8d2450a1009cc4c6196e.tar.gz
gnu: Add texlive-etoolbox.
* gnu/packages/tex.scm (texlive-etoolbox): New variable. (texlive-latex-etoolbox): Deprecate package.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm36
1 files changed, 11 insertions, 25 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3361e9845e..9cfd7b887e 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")