nixpkgs/pkgs/applications/networking/p2p/qbittorrent/default.nix

32 lines
843 B
Nix
Raw Normal View History

2013-11-08 09:59:28 +01:00
{ stdenv, fetchurl, qt4, which, dbus_libs, boost, libtorrentRasterbar
, pkgconfig }:
stdenv.mkDerivation rec {
2014-11-01 03:30:37 +01:00
name = "qbittorrent-3.1.11";
2013-11-08 09:59:28 +01:00
src = fetchurl {
url = "mirror://sourceforge/qbittorrent/${name}.tar.xz";
2014-11-01 03:30:37 +01:00
sha256 = "0qvz8ifk01b9sw9x5yh3b5kmssx5yi026zvgvabdvfaqkvcmw43i";
2013-11-08 09:59:28 +01:00
};
2014-11-01 03:30:37 +01:00
buildInputs = [
qt4 which dbus_libs boost libtorrentRasterbar pkgconfig
];
configureFlags = [
"--with-libboost-lib=${boost.lib}/lib"
"--with-libboost-inc=${boost.dev}/include"
];
2013-11-08 09:59:28 +01:00
# https://github.com/qbittorrent/qBittorrent/issues/1992
#enableParallelBuilding = true;
2013-11-08 09:59:28 +01:00
2014-09-25 04:49:14 +02:00
meta = with stdenv.lib; {
2013-11-08 09:59:28 +01:00
description = "Free Software alternative to µtorrent";
homepage = http://www.qbittorrent.org/;
2014-09-25 04:49:14 +02:00
license = licenses.gpl2;
maintainers = with maintainers; [ viric ];
platforms = platforms.linux;
2013-11-08 09:59:28 +01:00
};
}