Subject: bug#30159: closed (Re: [bug#30159] [PATCH 1/2] gnu: Add deluge.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 24 Nov 2018 00:57:02 +0000

Your bug report

#30159: [PATCH 1/2] gnu: Add deluge.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30159: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30159
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#30159] [PATCH 1/2] gnu: Add deluge.
From: Marius Bakke <[email-masked]>
To: Nam Nguyen <[email-masked]>, [email-masked]
Cc: [email-masked]
Date: Sat, 24 Nov 2018 01:56:44 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Nam Nguyen <[email-masked]> writes:

> Hi all,
>
> I used Mike's work to successfully write a recipe for deluge. I hope this
> is the correct place to post these patches.
>
> python2-service-identity is added so that deluge can verify TLS certificates
> with pyopenssl.

Hi Nam,

Thank you for these patches!

I've applied all three with minor changes:

* The libtorrent C++ fix was moved into libtorrent itself instead of a
  separate package.
* Dropped 'gettext' and 'setuptools' inputs from Deluge as they appeared
  unused.
* Added copyright notices for you in the relevant places.

Hope this was okay, and welcome to Guix!

Subject: [PATCH 1/2] gnu: Add deluge.
From: mike rosset <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Thu, 18 Jan 2018 07:03:50 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/bittorrent.scm (deluge): New variable.
---
 gnu/packages/bittorrent.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 053988c8d..17c72a635 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -41,6 +41,7 @@
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages file)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -53,6 +54,7 @@
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xml))
@@ -408,3 +410,35 @@ desktops.")
     (license l:bsd-2)))

+(define-public deluge
+  (package
+    (name "deluge")
+    (version "1.3.15")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://download.deluge-torrent.org/source/deluge-"
+             version ".tar.xz"))
+       (sha256
+        (base32
+         "0b7rri4x0wrcj7rjghrnw1kfrsd5i7i6aq85dsg5dg1w1qa0ar59"))))
+    (build-system python-build-system)
+    (inputs `(("libtorrent-rasterbar" ,libtorrent-rasterbar)))
+    (propagated-inputs
+     `(("python2-pygtk" ,python2-pygtk)
+       ("python2-chardet" ,python2-chardet)
+       ("python2-pyopenssl" ,python2-pyopenssl)
+       ("python2-libtorrent" ,python2-libtorrent)
+       ("python2-twisted" ,python2-twisted)
+       ("python2-pyxdg" ,python2-pyxdg)))
+    (arguments
+     `(#:python ,python-2))
+    (home-page "http://deluge-torrent.org/")
+    (synopsis  "Fully-featured cross-platform BitTorrent client")
+    (description
+     "Deluge contains the common features to BitTorrent clients such as
+Protocol Encryption, DHT, Local Peer Discovery (LSD), Peer Exchange (PEX),
+UPnP, NAT-PMP, Proxy support, Web seeds, global and per-torrent speed limits.
+As Deluge heavily utilises the libtorrent library")
+    (license l:gpl3+)))
-- 
2.15.1