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