guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: fet: Add alternative URL for older source tarballs.


From: guix-commits
Subject: 02/08: gnu: fet: Add alternative URL for older source tarballs.
Date: Thu, 7 Oct 2021 09:20:35 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e85ccc8b50f8ff76e4324be2cd11e4194470a6df
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Oct 7 12:16:32 2021 +0200

    gnu: fet: Add alternative URL for older source tarballs.
    
    * gnu/packages/education.scm (fet)[source]: Add "old/" URL.
---
 gnu/packages/education.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 634420a..4f4de1a 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -657,8 +657,10 @@ Portuguese, Spanish and Italian.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "https://www.lalescu.ro/liviu/fet/download/";
-                           "fet-" version ".tar.bz2"))
+       (uri (let ((directory "https://www.lalescu.ro/liviu/fet/download/";)
+                  (base (string-append "fet-" version ".tar.bz2")))
+              (list (string-append directory base)
+                    (string-append directory "old/" base))))
        (sha256
         (base32 "16m20vbhv8i7saxqb731bhds1f86d6x1f935j3ivg357805fqzll"))))
     (build-system gnu-build-system)



reply via email to

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