summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p
diff options
context:
space:
mode:
authorGrant Wu <grantwwu@gmail.com>2017-08-05 17:13:26 -0400
committerFranz Pletz <fpletz@fnordicwalking.de>2017-08-30 19:25:30 +0200
commitfa5e34324204fc626d9b644a37982bcedec9e4bc (patch)
tree4d4b7f0a457dafc3f04e9850433345a13c433f12 /pkgs/applications/networking/p2p
parent4c91e32da6268397834a3290bcd86622b320cffe (diff)
downloadnixlib-fa5e34324204fc626d9b644a37982bcedec9e4bc.tar
nixlib-fa5e34324204fc626d9b644a37982bcedec9e4bc.tar.gz
nixlib-fa5e34324204fc626d9b644a37982bcedec9e4bc.tar.bz2
nixlib-fa5e34324204fc626d9b644a37982bcedec9e4bc.tar.lz
nixlib-fa5e34324204fc626d9b644a37982bcedec9e4bc.tar.xz
nixlib-fa5e34324204fc626d9b644a37982bcedec9e4bc.tar.zst
nixlib-fa5e34324204fc626d9b644a37982bcedec9e4bc.zip
deluge: 1.3.13 -> 1.3.15
Change libtorrentRasterbar dependency to 1.0.x series (required for
1.3.x series)
Move Deluge out of pythonPackages (it doesn't support Python 3)
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r--pkgs/applications/networking/p2p/deluge/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/deluge/default.nix b/pkgs/applications/networking/p2p/deluge/default.nix
new file mode 100644
index 000000000000..7f8594b8bbb1
--- /dev/null
+++ b/pkgs/applications/networking/p2p/deluge/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchurl, intltool, libtorrentRasterbar_1_0, pythonPackages }:
+pythonPackages.buildPythonPackage rec {
+  name = "deluge-${version}";
+  version = "1.3.15";
+
+  src = fetchurl {
+    url = "http://download.deluge-torrent.org/source/${name}.tar.bz2";
+    sha256 = "1467b9hmgw59gf398mhbf40ggaka948yz3afh6022v753c9j7y6w";
+  };
+
+  propagatedBuildInputs = with pythonPackages; [
+    pyGtkGlade libtorrentRasterbar_1_0 twisted Mako chardet pyxdg pyopenssl service-identity
+  ];
+
+  nativeBuildInputs = [ intltool ];
+
+  postInstall = ''
+     mkdir -p $out/share/applications
+     cp -R deluge/data/pixmaps $out/share/
+     cp -R deluge/data/icons $out/share/
+     cp deluge/data/share/applications/deluge.desktop $out/share/applications
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = http://deluge-torrent.org;
+    description = "Torrent client";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ domenkozar ebzzry ];
+    platforms = platforms.all;
+  };
+}