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