~ruther/guix-local

2d8dc79c1e7426c12199835cf38037a9c88d9952 — Taylan Ulrich B 11 years ago df66fee
gnu: Add rTorrent.

* gnu/packages/bittorrent.scm (rtorrent): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 33 insertions(+), 1 deletions(-)

M gnu/packages/bittorrent.scm
M gnu/packages/bittorrent.scm => gnu/packages/bittorrent.scm +33 -1
@@ 32,7 32,10 @@
                #:select (zlib))
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages check))
  #:use-module (gnu packages check)
  #:use-module (gnu packages ncurses)
  #:use-module (gnu packages curl)
  #:use-module (gnu packages cyrus-sasl))

(define-public transmission
  (package


@@ 121,3 124,32 @@ with the BitTorrent client rtorrent.  It is written in C++ with emphasis on
speed and efficiency.")
    (home-page "http://libtorrent.rakshasa.no/")
    (license l:gpl2+)))

(define-public rtorrent
  (package
    (name "rtorrent")
    (version "0.9.4")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "http://libtorrent.rakshasa.no/downloads/rtorrent-"
                    version ".tar.gz"))
              (sha256
               (base32
                "113yrrac75vqi4g8r6bgs0ggjllj9bkg9shv08vqzdhkwqg2q2mw"))))
    (build-system gnu-build-system)
    (inputs `(("libtorrent" ,libtorrent)
              ("ncurses" ,ncurses)
              ("curl" ,curl)
              ("cyrus-sasl" ,cyrus-sasl)
              ("openssl" ,openssl)
              ("zlib" ,zlib)))
    (native-inputs `(("pkg-config" ,pkg-config)
                     ("cppunit" ,cppunit)))
    (synopsis "BitTorrent client with ncurses interface")
    (description
     "rTorrent is a BitTorrent client with an ncurses interface.  It supports
full encryption, DHT, PEX, and Magnet Links.  It can also be controlled via
XML-RPC over SCGI.")
    (home-page "http://libtorrent.rakshasa.no/")
    (license l:gpl2+)))