diff --git a/pkgs/desktops/kde/kdelibs/default.nix b/pkgs/desktops/kde/kdelibs/default.nix index 3c4733664762..7633f8e1346c 100644 --- a/pkgs/desktops/kde/kdelibs/default.nix +++ b/pkgs/desktops/kde/kdelibs/default.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation { sha256 = "0p0v4gr61qlvnpg9937chrjh3s7xi3nn7wvrg1xjf8dfqq164xh6"; }; - passthru = {inherit openssl libX11 libjpeg;}; + passthru = {inherit openssl libX11 libjpeg qt;}; buildInputs = [ libX11 libXt libXext zlib perl qt openssl pcre diff --git a/pkgs/tools/networking/p2p/ktorrent/default.nix b/pkgs/tools/networking/p2p/ktorrent/default.nix new file mode 100644 index 000000000000..a28189757b3d --- /dev/null +++ b/pkgs/tools/networking/p2p/ktorrent/default.nix @@ -0,0 +1,15 @@ +{ stdenv, fetchurl, pkgconfig, kdelibs, xlibs, zlib +, libpng, libjpeg, perl, gmp +}: + +stdenv.mkDerivation { + name = "ktorrent-2.2.1"; + src = fetchurl { + url = http://ktorrent.pwsp.net/downloads/2.2.1/ktorrent-2.2.1.tar.gz; + sha256 = "1wv7y8p21fliys55hcbxgxndz6y7ilr3cqyz99y32sm0v6l7qpyd"; + }; + buildInputs = [ + pkgconfig kdelibs kdelibs.qt xlibs.xlibs zlib libpng libjpeg perl gmp + ]; + configureFlags = "--without-arts"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e146f2718c8c..f0470402e3a5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -440,6 +440,11 @@ rec { inherit fetchurl stdenv unzip jre; }; + ktorrent = import ../tools/networking/p2p/ktorrent { + inherit fetchurl stdenv pkgconfig kdelibs + xlibs zlib libpng libjpeg perl gmp; + }; + less = import ../tools/misc/less { inherit fetchurl stdenv ncurses; };