2017-02-18 19:24:52 +00:00
|
|
|
{ stdenv, fetchurl, 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
|
2017-07-03 08:44:37 +01:00
|
|
|
, libktorrent, boost, taglib, libgcrypt, kplotting
|
2017-02-18 19:24:52 +00:00
|
|
|
}:
|
2010-09-13 15:23:02 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-05 11:26:52 +01:00
|
|
|
name = "ktorrent-${version}";
|
|
|
|
version = "${libktorrent.mainVersion}.0";
|
2010-09-13 15:23:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-05 11:26:52 +01:00
|
|
|
url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${name}.tar.xz";
|
|
|
|
sha256 = "18w6qh09k84qpzaxxb76a4g59k4mx5wk897vqp1wwv80g0pqhmrw";
|
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
|
|
|
|
2017-09-05 11:26:52 +01:00
|
|
|
meta = with stdenv.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
|
|
|
};
|
|
|
|
}
|