2011-08-06 16:28:15 +02:00
|
|
|
{ stdenv, fetchurl, cmake, automoc4, libktorrent, taglib, kdepimlibs, boost
|
|
|
|
, gettext, kdebase_workspace, qt4, kdelibs, phonon }:
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = pname + "-" + version;
|
|
|
|
|
|
|
|
pname = "ktorrent";
|
2012-08-08 11:47:10 +02:00
|
|
|
version = "4.2.1";
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/downloads/${version}/${name}.tar.bz2";
|
2012-08-08 11:47:10 +02:00
|
|
|
sha256 = "1b6w7i1vvq8mlw9yrlxvb51hvaj6rpl8lv9b9zagyl3wcanz73zd";
|
2010-09-13 16:23:02 +02:00
|
|
|
};
|
|
|
|
|
2012-08-08 11:47:10 +02:00
|
|
|
patches = [ ./find-workspace.diff ];
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
KDEDIRS = libktorrent;
|
|
|
|
|
2011-08-06 16:28:15 +02:00
|
|
|
buildInputs =
|
|
|
|
[ cmake qt4 kdelibs automoc4 phonon libktorrent boost taglib kdepimlibs
|
|
|
|
gettext kdebase_workspace
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE integrated BtTorrent client";
|
|
|
|
homepage = http://ktorrent.org;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
2011-08-26 15:49:23 +02:00
|
|
|
inherit (libktorrent.meta) platforms;
|
2010-09-13 16:23:02 +02:00
|
|
|
};
|
|
|
|
}
|