3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/p2p/qbittorrent/default.nix
William A. Kennington III 8f8712b1e1 qbittorrent: Refactor
2014-11-02 17:22:28 -08:00

32 lines
843 B
Nix

{ stdenv, fetchurl, qt4, which, dbus_libs, boost, libtorrentRasterbar
, pkgconfig }:
stdenv.mkDerivation rec {
name = "qbittorrent-3.1.11";
src = fetchurl {
url = "mirror://sourceforge/qbittorrent/${name}.tar.xz";
sha256 = "0qvz8ifk01b9sw9x5yh3b5kmssx5yi026zvgvabdvfaqkvcmw43i";
};
buildInputs = [
qt4 which dbus_libs boost libtorrentRasterbar pkgconfig
];
configureFlags = [
"--with-libboost-lib=${boost.lib}/lib"
"--with-libboost-inc=${boost.dev}/include"
];
# https://github.com/qbittorrent/qBittorrent/issues/1992
#enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Free Software alternative to µtorrent";
homepage = http://www.qbittorrent.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ viric ];
platforms = platforms.linux;
};
}