From unknown Sun Jun 22 08:04:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39240] [PATCH] gnu: Add megacmd. Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jan 2020 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39240 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39240@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15797153013997 (code B ref -1); Wed, 22 Jan 2020 17:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jan 2020 17:48:21 +0000 Received: from localhost ([127.0.0.1]:51267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuK73-00012P-0y for submit@debbugs.gnu.org; Wed, 22 Jan 2020 12:48:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:53508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuK71-00012C-AB for submit@debbugs.gnu.org; Wed, 22 Jan 2020 12:48:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58995) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuK6z-0002cN-Tb for guix-patches@gnu.org; Wed, 22 Jan 2020 12:48:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuK6y-0005Jz-Er for guix-patches@gnu.org; Wed, 22 Jan 2020 12:48:17 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:33194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuK6y-0005Fk-5N for guix-patches@gnu.org; Wed, 22 Jan 2020 12:48:16 -0500 Received: (qmail 31253 invoked by uid 1009); 22 Jan 2020 18:48:04 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25702. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 31.422065 secs); 22 Jan 2020 17:48:04 -0000 Received: from unknown (HELO zdrowyportier.kadziolka.net) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 22 Jan 2020 18:47:33 +0100 Date: Wed, 22 Jan 2020 18:47:32 +0100 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200122174732.k33gbrcru7y43pgp@zdrowyportier.kadziolka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 37.59.186.212 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/crypto.scm (megacmd): New variable. --- gnu/packages/crypto.scm | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 61fa228b9a..cf7cbf44df 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -34,6 +34,7 @@ (define-module (gnu packages crypto) #:use-module (gnu packages) #:use-module (gnu packages admin) + #:use-module (gnu packages adns) #:use-module (gnu packages aidc) #:use-module (gnu packages attr) #:use-module (gnu packages autotools) @@ -41,6 +42,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cryptsetup) + #:use-module (gnu packages curl) #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) #:use-module (gnu packages image) @@ -51,6 +53,7 @@ #:use-module (gnu packages lsof) #:use-module (gnu packages nettle) #:use-module (gnu packages password-utils) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) @@ -1009,6 +1012,50 @@ quickly by using all your CPU cores and hardware acceleration.") (home-page "https://github.com/vstakhov/hpenc") (license license:bsd-3))) +(define-public megacmd + (package + (name "megacmd") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/meganz/MEGAcmd.git") + (commit (string-append version "_Linux")) + (recursive? #t))) + (sha256 + (base32 + "004j8m3xs6slx03g2g6wzr97myl2v3zc09wxnfar5c62a625pd53")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + ;; XXX: Disabling tests because they depend on libgtest.la from googletest, + ;; which is not installed for unclear reasons. + (arguments + `(#:tests? #f + #:configure-flags '("--with-pcre"))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (inputs + `(("c-ares" ,c-ares) + ("crypto++" ,crypto++) + ("curl" ,curl) + ("freeimage" ,freeimage) + ("gtest" ,googletest) + ("openssl" ,openssl) + ("pcre" ,pcre) + ("readline" ,readline) + ("sodium" ,libsodium) + ("sqlite3" ,sqlite) + ("zlib" ,zlib))) + (home-page "https://mega.nz/cmd") + (synopsis "Command Line Interactive and Scriptable Application to access mega.nz") + (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.") + (license '(license:bsd-2 license:gpl3+)))) + (define-public minisign (package (name "minisign") -- 2.25.0 From unknown Sun Jun 22 08:04:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39240] [PATCH 2/2] gnu: Add megatools. References: <20200122174732.k33gbrcru7y43pgp@zdrowyportier.kadziolka.net> In-Reply-To: <20200122174732.k33gbrcru7y43pgp@zdrowyportier.kadziolka.net> Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jan 2020 15:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39240 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39240@debbugs.gnu.org Received: via spool by 39240-submit@debbugs.gnu.org id=B39240.157979280712100 (code B ref 39240); Thu, 23 Jan 2020 15:21:01 +0000 Received: (at 39240) by debbugs.gnu.org; 23 Jan 2020 15:20:07 +0000 Received: from localhost ([127.0.0.1]:53082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iueH8-000394-OR for submit@debbugs.gnu.org; Thu, 23 Jan 2020 10:20:07 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:58068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iueH6-00038v-Tu for 39240@debbugs.gnu.org; Thu, 23 Jan 2020 10:20:05 -0500 Received: (qmail 30806 invoked by uid 1009); 23 Jan 2020 16:20:02 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25703. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.051968 secs); 23 Jan 2020 15:20:02 -0000 Received: from unknown (HELO zdrowyportier.kadziolka.net) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 23 Jan 2020 16:20:02 +0100 Date: Thu, 23 Jan 2020 16:20:00 +0100 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200123152000.o6agvumjmosm6p3n@zdrowyportier.kadziolka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crypto.scm (megatools): New variable. (megacmd)[description]: Cross-reference the two packages in the description. (megacmd)[license]: Use a more syntax form for multiple licenses. --- Note: sending this to the same bug as the packages are related and would ideally reference each other in their descriptions, which makes merging the patches interdependent. I am updating the license field here, as suggested by guix lint - I somehow forgot to run it before. I added the possibility of creating a pre-commit hook for this to my TODO. [this note shouldn't interfere with git am] --- gnu/packages/crypto.scm | 49 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index cf7cbf44df..64c824a082 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -43,7 +43,9 @@ #:use-module (gnu packages compression) #:use-module (gnu packages cryptsetup) #:use-module (gnu packages curl) + #:use-module (gnu packages documentation) #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) #:use-module (gnu packages image) #:use-module (gnu packages kerberos) @@ -1051,10 +1053,49 @@ quickly by using all your CPU cores and hardware acceleration.") ("zlib" ,zlib))) (home-page "https://mega.nz/cmd") (synopsis "Command Line Interactive and Scriptable Application to access mega.nz") - (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.") - (license '(license:bsd-2 license:gpl3+)))) + (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. + +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 minisign (package -- 2.25.0 From unknown Sun Jun 22 08:04:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Subject: bug#39240: closed (Re: [bug#39240] [PATCH 2/2] gnu: Add megatools.) Message-ID: References: <87ftg4pmfo.fsf@cbaines.net> <20200122174732.k33gbrcru7y43pgp@zdrowyportier.kadziolka.net> X-Gnu-PR-Message: they-closed 39240 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39240@debbugs.gnu.org Date: Fri, 24 Jan 2020 21:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1579901762-23252-1" This is a multi-part message in MIME format... ------------=_1579901762-23252-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39240: [PATCH] gnu: Add megacmd. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39240@debbugs.gnu.org. --=20 39240: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39240 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1579901762-23252-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39240-done) by debbugs.gnu.org; 24 Jan 2020 21:35:45 +0000 Received: from localhost ([127.0.0.1]:54823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv6cD-00062X-Hv for submit@debbugs.gnu.org; Fri, 24 Jan 2020 16:35:45 -0500 Received: from mira.cbaines.net ([212.71.252.8]:47758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv6cB-00062P-IY for 39240-done@debbugs.gnu.org; Fri, 24 Jan 2020 16:35:44 -0500 Received: from localhost (unknown [46.237.162.0]) by mira.cbaines.net (Postfix) with ESMTPSA id 65494179EE; Fri, 24 Jan 2020 21:35:42 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 495d44ab; Fri, 24 Jan 2020 21:35:40 +0000 (UTC) References: <20200122174732.k33gbrcru7y43pgp@zdrowyportier.kadziolka.net> <20200123152000.o6agvumjmosm6p3n@zdrowyportier.kadziolka.net> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: kuba@kadziolka.net Subject: Re: [bug#39240] [PATCH 2/2] gnu: Add megatools. In-reply-to: <20200123152000.o6agvumjmosm6p3n@zdrowyportier.kadziolka.net> Date: Fri, 24 Jan 2020 21:35:39 +0000 Message-ID: <87ftg4pmfo.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39240-done Cc: 39240-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jakub K=C4=85dzio=C5=82ka writes: > * gnu/packages/crypto.scm (megatools): New variable. > (megacmd)[description]: Cross-reference the two packages in the descrip= tion. > (megacmd)[license]: Use a more syntax form for multiple licenses. > --- > Note: sending this to the same bug as the packages are related and would > ideally reference each other in their descriptions, which makes merging > the patches interdependent. > > I am updating the license field here, as suggested by guix lint - I > somehow forgot to run it before. I added the possibility of creating a > pre-commit hook for this to my TODO. > > [this note shouldn't interfere with git am] Hi Jakub, I've pushed both these patches to master now, they're included in [1]. 1: 3e67182fb1b928a695718441124bec14a86ec7be Given you introduced the issue with the license field in the previous patch, I fixed it there and adjusted the second patch accordingly. Additionally, I moved these packages to the sync module, rather than the crypto one, as that seemed a better fit. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl4rYytfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeF3g//biWarBXPswAsYloJZjf856Cl6i4QZnMP3qNvygtMcWCcYiYgUCMO1pcn 1ZcUseAUnczo4fM2sE1RC3GKHPU+pTdXoG1IxYlRC8ZLaYg9BGAasTz8IEbzXGef JAUFtpmwQh6O1+0qMziwtWYWGovaMfvYlf+6iSQ9OI8G44WTv2lul80CQfGKnRKj G5UVXjwuHonJdfBi84wvUJ5NG34oNuqAuNWx5COcQIN7/JrCDhQ9D3/xkXYjOcKP tCcERnQg7nWK0QrJ6aWgE5cTDgaFRSwCpgxrTVjk+eraAVq4hG5kes7VNw7gcXEO CcHctfXtT6SQbk7QIIxy5aeA7romjtcqJGzf6KO6Q9Wy8X07H/USb4wOICBMj6ih NJi4bxyUK8Ry6WUnrbdZUOg/g6wj2wEllBsjj+i7+ayaKkdPe2T1lZ7T1JGgE3Xy UlOBdFD2+g/qhIy2ASlgz11U2eB+gnVa9DQqILSeBbFG8Q70y1NdziZr3rIRf38l qTnq2LkVcluWMjfjN8sDQoEgStB/FfbioDaYgJ3DcQeFPg+cSykd4/qBkDLsOtd2 RCCzVEhx9YayKi9GoROWOnnNkSH0MGB3ouRch4tcyjYaCbcdMG/IY3cI6AP1n9GJ P67zc2iDzIAwZxbkWCPgGOr4VfvFI9lPVmK1nKIF6/HOKC5N7Cw= =cWUp -----END PGP SIGNATURE----- --=-=-=-- ------------=_1579901762-23252-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jan 2020 17:48:21 +0000 Received: from localhost ([127.0.0.1]:51267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuK73-00012P-0y for submit@debbugs.gnu.org; Wed, 22 Jan 2020 12:48:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:53508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuK71-00012C-AB for submit@debbugs.gnu.org; Wed, 22 Jan 2020 12:48:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58995) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuK6z-0002cN-Tb for guix-patches@gnu.org; Wed, 22 Jan 2020 12:48:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuK6y-0005Jz-Er for guix-patches@gnu.org; Wed, 22 Jan 2020 12:48:17 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:33194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuK6y-0005Fk-5N for guix-patches@gnu.org; Wed, 22 Jan 2020 12:48:16 -0500 Received: (qmail 31253 invoked by uid 1009); 22 Jan 2020 18:48:04 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25702. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 31.422065 secs); 22 Jan 2020 17:48:04 -0000 Received: from unknown (HELO zdrowyportier.kadziolka.net) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 22 Jan 2020 18:47:33 +0100 Date: Wed, 22 Jan 2020 18:47:32 +0100 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add megacmd. Message-ID: <20200122174732.k33gbrcru7y43pgp@zdrowyportier.kadziolka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 37.59.186.212 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/crypto.scm (megacmd): New variable. --- gnu/packages/crypto.scm | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 61fa228b9a..cf7cbf44df 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -34,6 +34,7 @@ (define-module (gnu packages crypto) #:use-module (gnu packages) #:use-module (gnu packages admin) + #:use-module (gnu packages adns) #:use-module (gnu packages aidc) #:use-module (gnu packages attr) #:use-module (gnu packages autotools) @@ -41,6 +42,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cryptsetup) + #:use-module (gnu packages curl) #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) #:use-module (gnu packages image) @@ -51,6 +53,7 @@ #:use-module (gnu packages lsof) #:use-module (gnu packages nettle) #:use-module (gnu packages password-utils) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) @@ -1009,6 +1012,50 @@ quickly by using all your CPU cores and hardware acceleration.") (home-page "https://github.com/vstakhov/hpenc") (license license:bsd-3))) +(define-public megacmd + (package + (name "megacmd") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/meganz/MEGAcmd.git") + (commit (string-append version "_Linux")) + (recursive? #t))) + (sha256 + (base32 + "004j8m3xs6slx03g2g6wzr97myl2v3zc09wxnfar5c62a625pd53")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + ;; XXX: Disabling tests because they depend on libgtest.la from googletest, + ;; which is not installed for unclear reasons. + (arguments + `(#:tests? #f + #:configure-flags '("--with-pcre"))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (inputs + `(("c-ares" ,c-ares) + ("crypto++" ,crypto++) + ("curl" ,curl) + ("freeimage" ,freeimage) + ("gtest" ,googletest) + ("openssl" ,openssl) + ("pcre" ,pcre) + ("readline" ,readline) + ("sodium" ,libsodium) + ("sqlite3" ,sqlite) + ("zlib" ,zlib))) + (home-page "https://mega.nz/cmd") + (synopsis "Command Line Interactive and Scriptable Application to access mega.nz") + (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.") + (license '(license:bsd-2 license:gpl3+)))) + (define-public minisign (package (name "minisign") -- 2.25.0 ------------=_1579901762-23252-1--