unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add uget.
@ 2016-11-18 22:03 Tomáš Čech
  2016-11-18 23:50 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Čech @ 2016-11-18 22:03 UTC (permalink / raw)
  To: guix-devel

* 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"))
+	      (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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add uget.
  2016-11-18 22:03 [PATCH] gnu: Add uget Tomáš Čech
@ 2016-11-18 23:50 ` Leo Famulari
  2016-11-29 23:00   ` Tomáš Čech
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2016-11-18 23:50 UTC (permalink / raw)
  To: Tomáš Čech; +Cc: guix-devel

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
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] gnu: Add uget.
  2016-11-18 23:50 ` Leo Famulari
@ 2016-11-29 23:00   ` Tomáš Čech
  2016-12-01 14:00     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Čech @ 2016-11-29 23:00 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index eff1b5a..96c3a00 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)
@@ -251,3 +255,38 @@ 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 "mirror://sourceforge/urlget/"
+                                  "uget%20%28stable%29/" version "/uget-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0919cf7lfk1djdl003cahqjvafdliv7v2l8r5wg95n4isqggdk75"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("intltool" ,intltool)))
+    (inputs
+     `(("curl" ,curl)
+       ("gtk+" ,gtk+)
+       ("glib" ,glib)
+       ("gnutls" ,gnutls)
+       ("gstreamer" ,gstreamer)
+       ("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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add uget.
  2016-11-29 23:00   ` Tomáš Čech
@ 2016-12-01 14:00     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-12-01 14:00 UTC (permalink / raw)
  To: Tomáš Čech; +Cc: guix-devel

Tomáš Čech <sleep_walker@gnu.org> skribis:

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

You can add a copyright line for yourself in that file.

> +    (license l:lgpl2.1)))

Version 2.1 only?

Otherwise LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-01 14:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18 22:03 [PATCH] gnu: Add uget Tomáš Čech
2016-11-18 23:50 ` Leo Famulari
2016-11-29 23:00   ` Tomáš Čech
2016-12-01 14:00     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).