2010-09-13 15:23:02 +01:00
|
|
|
{ stdenv, fetchurl, cmake, automoc4, libktorrent, taglib, kdepimlibs, boost,
|
|
|
|
gettext, kdebase_workspace }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = pname + "-" + version;
|
|
|
|
|
|
|
|
pname = "ktorrent";
|
2011-01-02 19:06:45 +00:00
|
|
|
version = "4.0.5";
|
2010-09-13 15:23:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/downloads/${version}/${name}.tar.bz2";
|
2011-01-02 19:06:45 +00:00
|
|
|
sha256 = "1kgy0r9c51w38vj5kjla16vh7nigs89qvvjybjjkv4r41nz9kcfn";
|
2010-09-13 15:23:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./find-workspace.diff ];
|
|
|
|
|
|
|
|
KDEDIRS = libktorrent;
|
|
|
|
|
|
|
|
buildInputs = [ automoc4 cmake libktorrent taglib kdepimlibs boost gettext
|
|
|
|
kdebase_workspace ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE integrated BtTorrent client";
|
|
|
|
homepage = http://ktorrent.org;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
|
|
};
|
|
|
|
}
|