all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: "Tomáš Čech" <sleep_walker@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add uget.
Date: Fri, 18 Nov 2016 18:50:47 -0500	[thread overview]
Message-ID: <20161118235047.GA23659@jasmine> (raw)
In-Reply-To: <20161118220303.19539-1-sleep_walker@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
> 
> 

  reply	other threads:[~2016-11-18 23:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18 22:03 [PATCH] gnu: Add uget Tomáš Čech
2016-11-18 23:50 ` Leo Famulari [this message]
2016-11-29 23:00   ` Tomáš Čech
2016-12-01 14:00     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161118235047.GA23659@jasmine \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=sleep_walker@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.