Paste number 138867: libtorrent/rtorrent.scm 2

Paste number 138867: libtorrent/rtorrent.scm 2
Pasted by: youlysses
When:8 years, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+2Z5F
Channel:None
Paste contents:
Raw Source | XML | Display As
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages rtorrent)
   #:use-module (gnu packages)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages g++)
   #:use-module (guix licenses)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu))

(define libtorrent
  (package
     (name "libtorrent")
     (version "0.13.2")
     (source (origin
	      (method url-fetch)
	      (uri (string-append 
		        "http://libtorrent.rakshasa.no/downloads/libtorrent-" 
			version "/libtorrent-" version ".tar.gz"))
              (sha256
	        (base32 "0xsnyd1hnfvfq67y5s0ddhj2lhxmfms4djblaa0d1y5phdkpsc9l"))))
         (build-system gnu-build-system)
         (synopsis "libtorrent is a free/open source implementation of the BitTorrent protocol.")
         (description "libtorrent is a free/open source implementation of the BitTorrent protocol. It is written in and has its main library interface in C++. Its most notable features are support for Mainline DHT, IPv6, HTTP seeds and µTorrent's peer exchange.")
         (home-page "http://libtorrent.rakshasa.no/")
         (license gpl2+)))

(define rtorrent
       (package
         (name "rtorrent")
         (version "0.9.2")
         (source (origin
                  (method url-fetch)
                  (uri (string-append "http://libtorrent.rakshasa.no/downloads/rtorrent-" 
				      version "/rtorrent-" version ".tar.gz"))
                  (sha256
                   (base32 "043krhsiawigf8yjd5qfkdn5iqrssph1705dsx5fgbxipr0wm4wy"))))
         (build-system gnu-build-system)
         (inputs `(("ncurses" ,ncurses)
		   ("curl" ,curl)
		   ("libtorrent" ,libtorrent)))
         (synopsis "rTorrent is a text-based ncurses BitTorrent client written in C++.")
         (description "rTorrent is a text-based ncurses BitTorrent client written in C++, based on the libTorrent libraries for Unix, whose author's goal is “a focus on high performance and good code”")
         (home-page "http://libtorrent.rakshasa.no/")
         (license gpl2+)))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.