summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p/qbittorrent/default.nix
blob: 5aff37580d31c5a3079ebe5506faa32c96cc3a98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, qt4, which, dbus_libs, boost, libtorrentRasterbar
, pkgconfig }:

stdenv.mkDerivation rec {
  name = "qbittorrent-3.1.2";

  src = fetchurl {
    url = "mirror://sourceforge/qbittorrent/${name}.tar.xz";
    sha256 = "1viia11qixp1qqxcyiw1x4if63cfyqk4rscpzp1vnhnzm06irv7y";
  };

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