diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-01-21 02:31:43 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-01-21 02:53:14 +0100 |
commit | 9d2e56d0afb97096d9c70ab6179e970f7de45a16 (patch) | |
tree | 7b52d271d9236550ec1d3e28d5622c3ba56b5180 | |
parent | 0c8ac76cfe04dc2cf49531a7580210e5c4bb5487 (diff) | |
download | guix-9d2e56d0afb97096d9c70ab6179e970f7de45a16.tar.gz guix-9d2e56d0afb97096d9c70ab6179e970f7de45a16.zip |
gnu: babl: Parameterise source URI.
* gnu/packages/gimp.scm (babl)[source]: Use VERSION-MAJOR+MINOR.
-rw-r--r-- | gnu/packages/gimp.scm | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm index 0fba63025c..13b8feb557 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")))) |