summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2017-08-25 01:45:54 -0400
committerMark H Weaver <mhw@netris.org>2017-08-25 02:08:52 -0400
commit1934769ba163caa06816deb97688926130d4395a (patch)
treed735ce49187d438795d14779f8b6a59bdd9a1265
parent05e172ca4e89d39b4e67d7bc728a3f40876f8f5d (diff)
downloadguix-1934769ba163caa06816deb97688926130d4395a.tar.gz
gnu: libmikmod: Add fallback source URL, needed for older versions.
* gnu/packages/sdl.scm (libmikmod)[source]: Add a fallback source URL where
older versions are kept.
-rw-r--r--gnu/packages/sdl.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 9e2d81f182..af598ecb46 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -120,8 +120,13 @@ joystick, and graphics hardware.")
     (version "3.3.10")
     (source (origin
              (method url-fetch)
-             (uri (string-append "mirror://sourceforge/mikmod/libmikmod/"
-                                 version "/libmikmod-" version ".tar.gz"))
+             (uri (list
+                   (string-append "mirror://sourceforge/mikmod/libmikmod/"
+                                  version "/libmikmod-" version ".tar.gz")
+                   ;; Older versions are sometimes moved to:
+                   (string-append "mirror://sourceforge/mikmod/"
+                                  "outdated_versions/libmikmod/"
+                                  version "/libmikmod-" version ".tar.gz")))
              (sha256
               (base32
                "0j7g4jpa2zgzw7x6s3rldypa7zlwjvn97rwx0sylx1iihhlzbcq0"))))