Subject: [PATCH 09/10] gnu: libktorrent: Base source-code URL on version of ktorrent.

From: Hartmut Goebel <[email-masked]>
Date: Sun, 19 Jan 2020 01:52:53 +0100

* gnu/packages/kde-internet.scm (libktorrent)[source]: Base
path in URL on version of ktorrent.
---
 gnu/packages/kde-internet.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-internet.scm b/gnu/packages/kde-internet.scm
index 0fc581b6ce..dc5c66d124 100644
--- a/gnu/packages/kde-internet.scm
+++ b/gnu/packages/kde-internet.scm
@@ -447,8 +447,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"))))
-- 
2.21.1