diff options
author | Peter Hoeg <peter@hoeg.com> | 2017-09-05 18:26:52 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2017-09-05 18:26:52 +0800 |
commit | 17f4cb4eb8223748f6b5b62be20a5386739bfaa9 (patch) | |
tree | aba73fc783779512e6c6fe820a83176e8346ac59 /pkgs/applications/networking | |
parent | 82e0b910e705d5a2d57ab8c85fc918cd8e41f86e (diff) | |
download | nixlib-17f4cb4eb8223748f6b5b62be20a5386739bfaa9.tar nixlib-17f4cb4eb8223748f6b5b62be20a5386739bfaa9.tar.gz nixlib-17f4cb4eb8223748f6b5b62be20a5386739bfaa9.tar.bz2 nixlib-17f4cb4eb8223748f6b5b62be20a5386739bfaa9.tar.lz nixlib-17f4cb4eb8223748f6b5b62be20a5386739bfaa9.tar.xz nixlib-17f4cb4eb8223748f6b5b62be20a5386739bfaa9.tar.zst nixlib-17f4cb4eb8223748f6b5b62be20a5386739bfaa9.zip |
ktorrent: 5.0.1 -> 5.1.0
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/p2p/ktorrent/default.nix | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/pkgs/applications/networking/p2p/ktorrent/default.nix b/pkgs/applications/networking/p2p/ktorrent/default.nix index 77c7cf321cbd..d9ffb6e2aa97 100644 --- a/pkgs/applications/networking/p2p/ktorrent/default.nix +++ b/pkgs/applications/networking/p2p/ktorrent/default.nix @@ -1,41 +1,33 @@ { stdenv, fetchurl, cmake , extra-cmake-modules, qtbase, qtscript -, ki18n, kio, knotifications, knotifyconfig, kdoctools, kross, kcmutils, kdelibs4support +, karchive, kcrash, kdnssd, ki18n, kio, knotifications, knotifyconfig +, kdoctools, kross, kcmutils, kwindowsystem , libktorrent, boost, taglib, libgcrypt, kplotting }: stdenv.mkDerivation rec { - name = pname + "-" + version; - - pname = "ktorrent"; - version = "5.0.1"; + name = "ktorrent-${version}"; + version = "${libktorrent.mainVersion}.0"; src = fetchurl { - url = http://download.kde.org/stable/ktorrent/5.0/ktorrent-5.0.1.tar.xz; - sha256 = "1rbr932djmn1la6vs2sy1zdf39fmla8vwzfn76h7csncbp5fw3yh"; + url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${name}.tar.xz"; + sha256 = "18w6qh09k84qpzaxxb76a4g59k4mx5wk897vqp1wwv80g0pqhmrw"; }; - patches = - [ (fetchurl { - url = https://cgit.kde.org/ktorrent.git/patch/?id=f48acc22f0105ce6bac63294d248873ae231c6cc; - sha256 = "0jm4y35w2ypbjzf165rnjr224nq4w651ydnpd9zdn3inxh8r4s0v"; - }) - ]; - - nativeBuildInputs = [ kdoctools extra-cmake-modules ]; + nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ]; - buildInputs = - [ cmake qtbase qtscript - ki18n kio knotifications knotifyconfig kross kcmutils kdelibs4support - libktorrent taglib libgcrypt kplotting - ]; + buildInputs = [ + qtbase qtscript + karchive kcrash kdnssd ki18n kio knotifications knotifyconfig kross kcmutils kwindowsystem + libktorrent taglib libgcrypt kplotting + ]; enableParallelBuilding = true; - meta = { + meta = with stdenv.lib; { description = "KDE integrated BtTorrent client"; - homepage = https://www.kde.org/applications/internet/ktorrent/; - maintainers = [ stdenv.lib.maintainers.eelco ]; - platforms = stdenv.lib.platforms.linux; + homepage = https://www.kde.org/applications/internet/ktorrent/; + maintainers = with maintainers; [ eelco ]; + platforms = platforms.linux; }; } |