597412252a
This lets hydra build kde packages for all available KDE releases. Will commit NixOS-fix in a few minutes. svn path=/nixpkgs/trunk/; revision=28833
25 lines
643 B
Nix
25 lines
643 B
Nix
{ stdenv, fetchurl, kdelibs, cmake, gmp, qca2, boost, gettext, qt4, automoc4
|
|
, phonon, libgcrypt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = pname + "-" + version;
|
|
pname = "libktorrent";
|
|
version = "1.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://ktorrent.org/downloads/4.1.1/${name}.tar.bz2";
|
|
sha256 = "06d93xpshxawz49hqh6pvypir4ygm1f781hs7yim5k6b7shivfs1";
|
|
};
|
|
|
|
buildInputs =
|
|
[ cmake kdelibs qt4 automoc4 phonon gmp qca2 boost libgcrypt gettext ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "A BiTtorrent library used by KTorrent";
|
|
homepage = http://ktorrent.org;
|
|
inherit (kdelibs.meta) platforms;
|
|
};
|
|
}
|