summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-11-08 09:59:28 +0100
committerLluís Batlle i Rossell <viric@viric.name>2013-11-08 09:59:52 +0100
commit0aedd883e83a9b5731091fd9598327b8bbfe27f6 (patch)
tree196858de4f71ebb44c30d14f537b82c7c8db7e84 /pkgs/applications/networking/p2p
parent73847ca936d34def46b112cdff36acda10b2b570 (diff)
downloadnixlib-0aedd883e83a9b5731091fd9598327b8bbfe27f6.tar
nixlib-0aedd883e83a9b5731091fd9598327b8bbfe27f6.tar.gz
nixlib-0aedd883e83a9b5731091fd9598327b8bbfe27f6.tar.bz2
nixlib-0aedd883e83a9b5731091fd9598327b8bbfe27f6.tar.lz
nixlib-0aedd883e83a9b5731091fd9598327b8bbfe27f6.tar.xz
nixlib-0aedd883e83a9b5731091fd9598327b8bbfe27f6.tar.zst
nixlib-0aedd883e83a9b5731091fd9598327b8bbfe27f6.zip
Adding qbittorrent
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r--pkgs/applications/networking/p2p/qbittorrent/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/qbittorrent/default.nix b/pkgs/applications/networking/p2p/qbittorrent/default.nix
new file mode 100644
index 000000000000..5aff37580d31
--- /dev/null
+++ b/pkgs/applications/networking/p2p/qbittorrent/default.nix
@@ -0,0 +1,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 ];
+  };
+}