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

29 lines
826 B
Nix
Raw Normal View History

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