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

26 lines
697 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-09-25 03:09:55 +02:00
name = "qbittorrent-3.1.10";
2013-11-08 09:59:28 +01:00
src = fetchurl {
url = "mirror://sourceforge/qbittorrent/${name}.tar.xz";
2014-09-25 03:09:55 +02:00
sha256 = "0xhqli191r5v9b5x6wj1wsjlj6svf6ldgzl7jza39q3ipr5c2pg6";
2013-11-08 09:59:28 +01:00
};
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 ];
};
}