2011-08-06 16:28:15 +02:00
|
|
|
{ stdenv, fetchurl, kdelibs, cmake, gmp, qca2, boost, gettext, qt4, automoc4
|
|
|
|
, phonon, libgcrypt }:
|
2010-08-16 10:34:26 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-09-13 16:22:56 +02:00
|
|
|
name = pname + "-" + version;
|
|
|
|
pname = "libktorrent";
|
2011-08-06 16:28:15 +02:00
|
|
|
version = "1.1.1";
|
2010-08-16 10:34:26 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-06 16:28:15 +02:00
|
|
|
url = "http://ktorrent.org/downloads/4.1.1/${name}.tar.bz2";
|
|
|
|
sha256 = "06d93xpshxawz49hqh6pvypir4ygm1f781hs7yim5k6b7shivfs1";
|
2010-08-16 10:34:26 +02:00
|
|
|
};
|
|
|
|
|
2011-08-06 16:28:15 +02:00
|
|
|
buildInputs =
|
|
|
|
[ cmake kdelibs qt4 automoc4 phonon gmp qca2 boost libgcrypt gettext ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-08-16 10:34:26 +02:00
|
|
|
|
|
|
|
meta = {
|
2011-08-06 16:28:15 +02:00
|
|
|
description = "A BiTtorrent library used by KTorrent";
|
2010-08-16 10:34:26 +02:00
|
|
|
homepage = http://ktorrent.org;
|
|
|
|
};
|
|
|
|
}
|