* Added ktorrent. To use, add your ~/.nix-profile to the KDEDIRS

environment variable and rerun kbuildsycoca.  (Otherwise ktorrent
  will work, but it won't be able to find its plugins.)

svn path=/nixpkgs/trunk/; revision=9081
This commit is contained in:
Eelco Dolstra 2007-08-09 16:55:14 +00:00
parent a00cf21e28
commit 254b6fe6d3
3 changed files with 21 additions and 1 deletions

View file

@ -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

View file

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

View file

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