guix-commits
[Top][All Lists]
Advanced

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

04/10: gnu: babl: Parameterise source URI.


From: Tobias Geerinckx-Rice
Subject: 04/10: gnu: babl: Parameterise source URI.
Date: Sat, 20 Jan 2018 21:24:20 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 9d2e56d0afb97096d9c70ab6179e970f7de45a16
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Jan 21 02:31:43 2018 +0100

    gnu: babl: Parameterise source URI.
    
    * gnu/packages/gimp.scm (babl)[source]: Use VERSION-MAJOR+MINOR.
---
 gnu/packages/gimp.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 0fba630..13b8feb 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -48,11 +48,14 @@
     (source (origin
               (method url-fetch)
               (uri (list (string-append "https://download.gimp.org/pub/babl/";
-                                        "0.1/babl-" version ".tar.bz2")
-                         (string-append "http://ftp.gtk.org/pub/babl/0.1/babl-";
-                                        version ".tar.bz2")
-                         (string-append "ftp://ftp.gtk.org/pub/babl/0.1/babl-";
-                                        version ".tar.bz2")))
+                                        (version-major+minor version)
+                                        "/babl-" version ".tar.bz2")
+                         (string-append "http://ftp.gtk.org/pub/babl/";
+                                        (version-major+minor version)
+                                        "/babl-" version ".tar.bz2")
+                         (string-append "ftp://ftp.gtk.org/pub/babl/";
+                                        (version-major+minor version)
+                                        "/babl-" version ".tar.bz2")))
               (sha256
                (base32
                 "11pfbyzq20596p9sgwraxspg3djg1jzz6wvz4bapf0yyr97jiyd0"))))



reply via email to

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