2017-02-18 19:24:52 +00:00
|
|
|
{ stdenv, fetchurl, cmake
|
|
|
|
, ecm, qtbase, qtscript
|
|
|
|
, ki18n, kio, knotifications, knotifyconfig, kdoctools, kross, kcmutils, kdelibs4support
|
|
|
|
, libktorrent, boost, taglib
|
|
|
|
}:
|
2010-09-13 14:23:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = pname + "-" + version;
|
|
|
|
|
|
|
|
pname = "ktorrent";
|
2017-02-18 19:24:52 +00:00
|
|
|
version = "5.0.1";
|
2010-09-13 14:23:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-18 19:24:52 +00:00
|
|
|
url = http://download.kde.org/stable/ktorrent/5.0/ktorrent-5.0.1.tar.xz;
|
|
|
|
sha256 = "1rbr932djmn1la6vs2sy1zdf39fmla8vwzfn76h7csncbp5fw3yh";
|
2010-09-13 14:23:02 +00:00
|
|
|
};
|
|
|
|
|
2017-02-18 19:24:52 +00:00
|
|
|
patches =
|
|
|
|
[ (fetchurl {
|
|
|
|
url = https://cgit.kde.org/ktorrent.git/patch/?id=f48acc22f0105ce6bac63294d248873ae231c6cc;
|
|
|
|
sha256 = "0jm4y35w2ypbjzf165rnjr224nq4w651ydnpd9zdn3inxh8r4s0v";
|
|
|
|
})
|
|
|
|
];
|
2010-09-13 14:23:02 +00:00
|
|
|
|
2017-02-18 19:24:52 +00:00
|
|
|
nativeBuildInputs = [ kdoctools ecm ];
|
2010-09-13 14:23:02 +00:00
|
|
|
|
2011-08-06 14:28:15 +00:00
|
|
|
buildInputs =
|
2017-02-18 19:24:52 +00:00
|
|
|
[ cmake qtbase qtscript
|
|
|
|
ki18n kio knotifications knotifyconfig kross kcmutils kdelibs4support
|
|
|
|
libktorrent taglib
|
2011-08-06 14:28:15 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-09-13 14:23:02 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE integrated BtTorrent client";
|
2017-02-18 19:24:52 +00:00
|
|
|
homepage = https://www.kde.org/applications/internet/ktorrent/;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-09-13 14:23:02 +00:00
|
|
|
};
|
|
|
|
}
|