guix-commits
[Top][All Lists]
Advanced

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

06/08: guix: Shorten home page URL in texlive importer.


From: guix-commits
Subject: 06/08: guix: Shorten home page URL in texlive importer.
Date: Thu, 30 Mar 2023 12:18:50 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 1dcaa0fc305950d1c6f8dd397a4096132fc1c8a7
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu Mar 30 18:13:54 2023 +0200

    guix: Shorten home page URL in texlive importer.
    
    * guix/import/texlive.scm (tlpdb->package): Use short URL for home page.
---
 guix/import/texlive.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm
index 81f9177443..086cd363a9 100644
--- a/guix/import/texlive.scm
+++ b/guix/import/texlive.scm
@@ -297,9 +297,10 @@ of those files are returned that are unexpectedly 
installed."
                            (let ((name (guix-name tex-name)))
                              (string->symbol name)))
                          inputs))))))
-        ,@(or (and=> (assoc-ref data 'catalogue-ctan)
-                     (lambda (url)
-                       `((home-page ,(string-append "https://ctan.org"; url)))))
+        ,@(or (and=> (assoc-ref data 'name)
+                     (lambda (name)
+                       `((home-page ,(string-append "https://ctan.org/pkg/";
+                                                    name)))))
               '((home-page "https://www.tug.org/texlive/";)))
         (synopsis ,(assoc-ref data 'shortdesc))
         (description ,(and=> (assoc-ref data 'longdesc) beautify-description))



reply via email to

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