From f5c10a94eff314ed985089719e817cd036a746f1 Mon Sep 17 00:00:00 2001
From: fis trivial <ybbs.daans@hotmail.com>
Date: Thu, 20 Sep 2018 13:37:26 +0000
Subject: [PATCH] gnu: gprolog: Update to 1.4.5.

* gnu/packages/gprolog.scm (gprolog): Update to 1.4.5.
[source]: Add an alternate source URL.

Signed-off-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/gprolog.scm | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/gprolog.scm b/gnu/packages/gprolog.scm
index b27b080ca78..166bf332945 100644
--- a/gnu/packages/gprolog.scm
+++ b/gnu/packages/gprolog.scm
@@ -27,15 +27,18 @@ (define-module (gnu packages gprolog)
 (define-public gprolog
   (package
     (name "gprolog")
-    (version "1.4.4")
+    (version "1.4.5")
     (source
-     (origin
-      (method url-fetch)
-      (uri (string-append "mirror://gnu/gprolog/gprolog-" version
-                          ".tar.gz"))
-      (sha256
-       (base32
-        "13miyas47bmijmadm68cbvb21n4s156gjafz7kfx9brk9djfkh0q"))))
+      (origin
+        (method url-fetch)
+        ;; Recent versions are not hosted on the GNU mirrors.
+        (uri (list (string-append "http://gprolog.org/gprolog-" version
+                                  ".tar.gz")
+                   (string-append "mirror://gnu/gprolog/gprolog-" version
+                                  ".tar.gz")))
+        (sha256
+         (base32
+          "0z4cc42n3k6i35b8mr816iwsvrpxshw6d7dgz6s2h1hy0l7g1p5z"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
-- 
GitLab