gnu: babl: Parameterise source URI.

* gnu/packages/gimp.scm (babl)[source]: Use VERSION-MAJOR+MINOR.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-21 02:31:43 +01:00
parent 0c8ac76cfe
commit 9d2e56d0af
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 5 deletions

View File

@ -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"))))