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";
|
2011-08-06 16:28:15 +02:00
|
|
|
version = "4.1.1";
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/downloads/${version}/${name}.tar.bz2";
|
2011-08-06 16:28:15 +02:00
|
|
|
sha256 = "1h0fqh344sfwfbvnwhn00k8czb14568flapjf4754zss6bxpw4g4";
|
2010-09-13 16:23:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./find-workspace.diff ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|