guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: Add megatools.


From: guix-commits
Subject: 02/02: gnu: Add megatools.
Date: Fri, 24 Jan 2020 16:31:10 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 3e67182fb1b928a695718441124bec14a86ec7be
Author: Jakub Kądziołka <address@hidden>
AuthorDate: Thu Jan 23 16:20:00 2020 +0100

    gnu: Add megatools.
    
    * gnu/packages/sync.scm (megatools): New variable.
    (megacmd)[description]: Cross-reference the two packages in the description.
    
    Signed-off-by: Christopher Baines <address@hidden>
---
 gnu/packages/sync.scm | 43 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 42 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index 0bde5d0..d4a48c4 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -39,6 +39,8 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
+  #:use-module (gnu packages documentation)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages golang)
   #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
@@ -97,9 +99,48 @@
     (description "MEGAcmd provides non UI access to MEGA services.  It intends
 to offer all the functionality of a MEGA account via commands.  It features
 synchronization, backup of local folders into a MEGA account and a
-webdav/streaming server.")
+webdav/streaming server.
+
+See also: megatools, a third-party alternative more commonly packaged in other
+distributions.")
     (license (list license:bsd-2 license:gpl3+))))
 
+(define-public megatools
+  (package
+    (name "megatools")
+    (version "1.10.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://megatools.megous.com/builds/megatools-";
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "12n32w5mqvpk0hvh9yg9qkj9i0g2wp7jp9rq28bnqs94iv3897hp"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ;; For documentation
+       ("asciidoc" ,asciidoc)))
+    (inputs
+     `(("curl" ,curl)
+       ("glib" ,glib)
+       ("openssl" ,openssl)))
+    (home-page "https://megatools.megous.com/";)
+    (synopsis "Command line client application for mega.nz")
+    (description "Megatools is a collection of programs for accessing the 
mega.nz service
+from the command line.
+
+Megatools allow you to copy individual files as well as entire directory trees 
to and from
+the cloud.  You can also perform streaming downloads for example to preview 
videos and
+audio files, without needing to download the entire file first.
+
+Megatools are robust and optimized for fast operation - as fast as Mega 
servers allow.
+Memory requirements and CPU utilization are kept at minimum.
+
+See also: megacmd, the official tool set by MEGA.")
+    (license license:gpl2)))
+
 (define-public owncloud-client
   (package
     (name "owncloud-client")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]