2019-10-07 02:31:23 +02:00
|
|
|
{ mkDerivation, lib, fetchurl, fetchpatch, cmake
|
2017-02-26 13:49:15 +01:00
|
|
|
, extra-cmake-modules, qtbase, qtscript
|
2017-09-05 12:26:52 +02:00
|
|
|
, karchive, kcrash, kdnssd, ki18n, kio, knotifications, knotifyconfig
|
|
|
|
, kdoctools, kross, kcmutils, kwindowsystem
|
2018-07-21 02:44:44 +02:00
|
|
|
, libktorrent, taglib, libgcrypt, kplotting
|
2017-02-18 20:24:52 +01:00
|
|
|
}:
|
2010-09-13 16:23:02 +02:00
|
|
|
|
2019-10-07 02:31:23 +02:00
|
|
|
mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ktorrent";
|
2019-09-04 07:07:12 +02:00
|
|
|
version = "${libktorrent.mainVersion}";
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${pname}-${version}.tar.xz";
|
2019-09-04 07:07:12 +02:00
|
|
|
sha256 = "0kwd0npxfg4mdh7f3xadd2zjlqalpb1jxk61505qpcgcssijf534";
|
2010-09-13 16:23:02 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 12:26:52 +02:00
|
|
|
nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];
|
2010-09-13 16:23:02 +02:00
|
|
|
|
2017-09-05 12:26:52 +02:00
|
|
|
buildInputs = [
|
|
|
|
qtbase qtscript
|
|
|
|
karchive kcrash kdnssd ki18n kio knotifications knotifyconfig kross kcmutils kwindowsystem
|
|
|
|
libktorrent taglib libgcrypt kplotting
|
|
|
|
];
|
2011-08-06 16:28:15 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-09-13 16:23:02 +02:00
|
|
|
|
2019-10-07 02:31:23 +02:00
|
|
|
meta = with lib; {
|
2010-09-13 16:23:02 +02:00
|
|
|
description = "KDE integrated BtTorrent client";
|
2017-09-05 12:26:52 +02:00
|
|
|
homepage = https://www.kde.org/applications/internet/ktorrent/;
|
2017-09-07 04:41:51 +02:00
|
|
|
license = licenses.gpl2;
|
2017-09-05 12:26:52 +02:00
|
|
|
maintainers = with maintainers; [ eelco ];
|
|
|
|
platforms = platforms.linux;
|
2010-09-13 16:23:02 +02:00
|
|
|
};
|
|
|
|
}
|