guix-commits
[Top][All Lists]
Advanced

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

88/109: gnu: Add texlive-url.


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

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

commit cd4768ddf83a1aa9f8c31c970b3120ad1afcc74f
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Jul 14 22:56:54 2019 +0200

    gnu: Add texlive-url.
    
    * gnu/packages/tex.scm (texlive-url): New variable.
    (texlive-latex-url): 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 fed2f89..7fb1e71 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2982,32 +2982,15 @@ rawfonts, showkeys, somedefs, tabularx, theorem, trace, 
varioref, verbatim,
 xr, and xspace.")
     (license license:lppl1.3+)))
 
-(define-public texlive-latex-url
+(define-public texlive-url
   (package
-    (name "texlive-latex-url")
-    (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/url"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "184s2543cwia5l7iibhlkl1ffbncfhjpv5p56zq0c15by5sghlac"))))
-    (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/url")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
+    (inherit (simple-texlive-package
+              "texlive-url"
+              (list "/doc/latex/url/"
+                    "/tex/latex/url/")
+              (base32
+               "184m40wgnx939ky2hbxnj0v9aak023ldrhgffp0lgyk9wdqpxlqg")
+              #:trivial? #t))
     (home-page "https://www.ctan.org/pkg/url";)
     (synopsis "Verbatim with URL-sensitive line breaks")
     (description "The command @code{\\url} is a form of verbatim command that
@@ -3022,6 +3005,9 @@ of file names.")
     ;; the latest version is 1.3c.
     (license license:lppl1.3c+)))
 
+(define-public texlive-latex-url
+  (deprecated-package "texlive-latex-url" texlive-url))
+
 (define-public texlive-latex-l3kernel
   (package
     (name "texlive-latex-l3kernel")



reply via email to

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