nixpkgs/pkgs/desktops/kde-4.2/extragear/ktorrent/default.nix
Sander van der Burg c9e2b00644 Added ktorrent package
svn path=/nixpkgs/trunk/; revision=14968
2009-04-09 12:58:44 +00:00

15 lines
617 B
Nix

{stdenv, fetchurl, cmake, qt4, perl, gmp, taglib, boost, gettext,
kdelibs, kdepimlibs, kdebase_workspace, automoc4, phonon, qca2}:
stdenv.mkDerivation {
name = "ktorrent-3.2.1";
src = fetchurl {
url = http://ktorrent.org/downloads/3.2.1/ktorrent-3.2.1.tar.bz2;
sha256 = "e37324519fdd04cad2a489fb772cbe628d8ff9f578e2bb913b18a1404dd7c4eb";
};
CMAKE_PREFIX_PATH=kdepimlibs;
cmakeFlags = "-DTASKMANAGER_INCLUDE_DIR=${kdebase_workspace}/include";
buildInputs = [ cmake qt4 perl gmp taglib boost gettext stdenv.gcc.libc
kdelibs kdepimlibs kdebase_workspace automoc4 phonon qca2 ];
}