From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 1/2] gnu: Add c-toxcore. Date: Thu, 15 Dec 2016 19:14:14 +0000 Message-ID: <20161215191415.7797-2-ng0@libertad.pw> References: <20161215191415.7797-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHbUl-0006OH-Hd for guix-devel@gnu.org; Thu, 15 Dec 2016 14:15:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHbUh-0006E7-E8 for guix-devel@gnu.org; Thu, 15 Dec 2016 14:15:11 -0500 Received: from aibo.runbox.com ([91.220.196.211]:43210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHbUh-0006C6-73 for guix-devel@gnu.org; Thu, 15 Dec 2016 14:15:07 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cHbUb-0007GP-18 for guix-devel@gnu.org; Thu, 15 Dec 2016 20:15:01 +0100 In-Reply-To: <20161215191415.7797-1-ng0@libertad.pw> 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: guix-devel@gnu.org * gnu/packages/messaging.scm (c-toxcore): New variable. --- gnu/packages/messaging.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 8660915bb..dcea40836 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -622,6 +622,43 @@ protocols.") (license license:gpl3+) (home-page "https://tox.chat")))) +(define-public c-toxcore + (package + (name "c-toxcore") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/TokTok/c-toxcore/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mx79da7bhv2bba5x4nx4ld8rb0vmrs84jabk5cliinpnwnim24n")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("check" ,check) + ("pkg-config" ,pkg-config))) + (inputs + `(("libsodium" ,libsodium) + ("opus" ,opus) + ("libvpx" ,libvpx))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda _ + (zero? (system* "autoreconf" "-vfi"))))) + #:tests? #f)) ; FIXME: Testsuite fails, needs internet connection. + (synopsis "Library for the Tox encrypted messenger protocol") + (description + "Official fork of the C library implementation of the Tox encrypted messenger protocol.") + (license license:gpl3+) + (home-page "https://tox.chat"))) + (define-public utox (package (name "utox") -- 2.11.0