summary refs log tree commit diff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-01-18 23:02:34 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-02-03 14:28:12 +0100
commitda0ef4dd9f18f88150f36a45e92a4726ec1da94b (patch)
tree5e70092829d4cc6923aa73a5c2fa820869189230
parent3588ac9c100bb117634db682f470c2b6faac0b2f (diff)
downloadguix-da0ef4dd9f18f88150f36a45e92a4726ec1da94b.tar.gz
gnu: libktorrent: Base source-code URL on version of ktorrent.
* gnu/packages/kde-internet.scm (libktorrent)[source]: Base
path in URL on version of ktorrent.
-rw-r--r--gnu/packages/kde-internet.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/kde-internet.scm b/gnu/packages/kde-internet.scm
index 16eecef258..5a5b750aa4 100644
--- a/gnu/packages/kde-internet.scm
+++ b/gnu/packages/kde-internet.scm
@@ -431,8 +431,8 @@ a full-featured client for BitTorrent.")
     (source
      (origin
        (method url-fetch)
-       ;; TODO: Base on version of ktorrent
-       (uri (string-append "mirror://kde//stable/ktorrent/5.1.2"
+       (uri (string-append "mirror://kde//stable/ktorrent/"
+                           (package-version ktorrent)
                            "/libktorrent-" version ".tar.xz"))
        (sha256
         (base32 "0051zh8bb4p9wmcfn5ql987brhsaiw9880xdck7b5dm1a05mri2w"))))