From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add uget. Date: Fri, 18 Nov 2016 18:50:47 -0500 Message-ID: <20161118235047.GA23659@jasmine> References: <20161118220303.19539-1-sleep_walker@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7svt-0001hZ-BV for guix-devel@gnu.org; Fri, 18 Nov 2016 18:51:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7svo-0000qN-FC for guix-devel@gnu.org; Fri, 18 Nov 2016 18:51:01 -0500 Content-Disposition: inline In-Reply-To: <20161118220303.19539-1-sleep_walker@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Cc: guix-devel@gnu.org On Fri, Nov 18, 2016 at 11:03:03PM +0100, Tomáš Čech wrote: > * gnu/packages/bittorrent.scm (uget): New variable. > --- > gnu/packages/bittorrent.scm | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm > index 73ae703..851c265 100644 > --- a/gnu/packages/bittorrent.scm > +++ b/gnu/packages/bittorrent.scm > @@ -29,11 +29,15 @@ > #:use-module (gnu packages adns) > #:use-module (gnu packages check) > #:use-module (gnu packages compression) > + #:use-module (gnu packages crypto) > #:use-module (gnu packages curl) > #:use-module (gnu packages cyrus-sasl) > #:use-module (gnu packages databases) > #:use-module (gnu packages file) > #:use-module (gnu packages glib) > + #:use-module (gnu packages gnome) > + #:use-module (gnu packages gnupg) > + #:use-module (gnu packages gstreamer) > #:use-module (gnu packages gtk) > #:use-module (gnu packages libevent) > #:use-module (gnu packages linux) > @@ -250,3 +254,35 @@ interface, for the Transmission BitTorrent daemon.") > download utility. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink. > Aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces.") > (license l:gpl2+))) > + > + > +(define-public uget > + (package > + (name "uget") > + (version "2.0.8") > + (source (origin > + (method url-fetch) > + (uri (string-append "http://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/" version "/uget-" version ".tar.gz")) This returns 404 for me. But, can you change it to use the sourceforge URL mirror, as in 175c910380? - (uri (string-append "http://downloads.sourceforge.net/mpop/mpop-" - version ".tar.xz")) + (uri (string-append "mirror://sourceforge/mpop/mpop/" version + "/mpop-" version ".tar.xz")) You can verify the URL works with: ./pre-inst-env guix build --check --no-substitutes --source uget > + (sha256 > + (base32 > + "0919cf7lfk1djdl003cahqjvafdliv7v2l8r5wg95n4isqggdk75")))) > + (build-system gnu-build-system) > + (inputs > + `(("curl" ,curl) > + ("gtk+" ,gtk+) > + ("glib" ,glib) > + ("gnutls" ,gnutls) > + ("gstreamer" ,gstreamer) > + ("intltool" ,intltool) > + ("libgcrypt" ,libgcrypt) > + ("libnotify" ,libnotify) > + ("openssl" ,openssl))) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (home-page "http://ugetdm.com/") > + (synopsis "Universal download manager with GTK+ interface") > + (description > + "uGet is portable download manager with GTK+ interface supporting > +HTTP, HTTPS, BitTorrent and Metalink, supporting multi-connection > +downloads, download scheduling, download rate limiting.") > + (license l:lgpl2.1))) > -- > 2.10.2 > >