3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libktorrent/default.nix
Yury G. Kudryashov 597412252a Wrap kde-related packages in kdePackagesFor
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
2011-08-26 13:49:23 +00:00

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;
};
}