Add libktorrent

svn path=/nixpkgs/trunk/; revision=23186
This commit is contained in:
Yury G. Kudryashov 2010-08-16 08:34:26 +00:00
parent 737262c779
commit 0ee0fb9387
2 changed files with 21 additions and 0 deletions

@ -0,0 +1,19 @@
{ stdenv, fetchurl, kdelibs, cmake, gmp, qca2, boost, gettext, qt47, automoc4,
perl }:
stdenv.mkDerivation rec {
name = "libktorrent-1.0.2";
src = fetchurl {
url = "${meta.homepage}/downloads/4.0.2/${name}.tar.bz2";
sha256 = "11kh1mcijwzr2kf7hpxadggh346kdb5jy8rnmawhi9nc0i7wyjlw";
};
# TODO: xfs.h
buildInputs = [ cmake kdelibs gmp qca2 boost gettext qt47 automoc4 perl ];
meta = {
description = "A bittorrent library used in ktorrent";
homepage = http://ktorrent.org;
};
}

@ -3243,6 +3243,8 @@ let
useGTK = getPkgConfig "libiodbc" "gtk" false;
};
libktorrent = newScope kde45 ../development/libraries/libktorrent { };
liblqr1 = callPackage ../development/libraries/liblqr-1 {
inherit (gnome) glib;
};