nixpkgs/pkgs/applications/networking/p2p/qbittorrent/default.nix
2013-12-12 03:34:12 +02:00

26 lines
696 B
Nix

{ stdenv, fetchurl, qt4, which, dbus_libs, boost, libtorrentRasterbar
, pkgconfig }:
stdenv.mkDerivation rec {
name = "qbittorrent-3.1.3";
src = fetchurl {
url = "mirror://sourceforge/qbittorrent/${name}.tar.xz";
sha256 = "16m3l8qjcj63brzrdn82cbijvz8fcxfgpibi4g5g6sbissjkwsww";
};
buildInputs = [ qt4 which dbus_libs boost libtorrentRasterbar
pkgconfig ];
configureFlags = "--with-libboost-inc=${boost}/include "
+ "--with-libboost-lib=${boost}/lib";
enableParallelBuilding = true;
meta = {
description = "Free Software alternative to µtorrent";
homepage = http://www.qbittorrent.org/;
maintainers = with stdenv.lib.maintainers; [ viric ];
};
}