gnu: libktorrent: Base source-code URL on version of ktorrent.
authorHartmut Goebel <h.goebel@crazy-compilers.com>
Sat, 18 Jan 2020 22:02:34 +0000 (23:02 +0100)
committerHartmut Goebel <h.goebel@crazy-compilers.com>
Mon, 3 Feb 2020 13:28:12 +0000 (14:28 +0100)
* gnu/packages/kde-internet.scm (libktorrent)[source]: Base
path in URL on version of ktorrent.

gnu/packages/kde-internet.scm

index 16eecef..5a5b750 100644 (file)
@@ -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"))))