diff options
| author | ng0 <ng0@libertad.pw> | 2016-12-18 20:10:15 +0000 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2016-12-19 23:57:18 +0100 |
| commit | 0ed5554a01464965e6d2dc3b2ee0eae4bd3156d5 (patch) | |
| tree | d80c092c83633bacdadac3a96077a6d40100b4d0 | |
| parent | 58b21e1e093c8b19d968a76eb962574b8d38053f (diff) | |
gnu: Add c-toxcore.
* gnu/packages/messaging.scm (c-toxcore): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/packages/messaging.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 8660915bb09..4e3cc3098c2 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm | |||
| @@ -622,6 +622,48 @@ protocols.") | |||
| 622 | (license license:gpl3+) | 622 | (license license:gpl3+) |
| 623 | (home-page "https://tox.chat")))) | 623 | (home-page "https://tox.chat")))) |
| 624 | 624 | ||
| 625 | ;; Some tox clients move to c-toxcore, which seems to be where all the | ||
| 626 | ;; recent development happens. It is run by the same developers as toxcore, | ||
| 627 | ;; forked into a group namespace. | ||
| 628 | (define-public c-toxcore | ||
| 629 | (package | ||
| 630 | (name "c-toxcore") | ||
| 631 | (version "0.1.1") | ||
| 632 | (source | ||
| 633 | (origin | ||
| 634 | (method url-fetch) | ||
| 635 | (uri (string-append "https://github.com/TokTok/c-toxcore/archive/v" | ||
| 636 | version ".tar.gz")) | ||
| 637 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 638 | (sha256 | ||
| 639 | (base32 | ||
| 640 | "0dybpz44pi0zm8djppjna0r8yh5wvl3l885dv2f1wp5366bk59n3")))) | ||
| 641 | (build-system gnu-build-system) | ||
| 642 | (native-inputs | ||
| 643 | `(("autoconf" ,autoconf) | ||
| 644 | ("automake" ,automake) | ||
| 645 | ("libtool" ,libtool) | ||
| 646 | ("check" ,check) | ||
| 647 | ("pkg-config" ,pkg-config))) | ||
| 648 | (inputs | ||
| 649 | `(("libsodium" ,libsodium) | ||
| 650 | ("opus" ,opus) | ||
| 651 | ("libvpx" ,libvpx))) | ||
| 652 | (arguments | ||
| 653 | `(#:phases | ||
| 654 | (modify-phases %standard-phases | ||
| 655 | (add-after 'unpack 'autoconf | ||
| 656 | ;; The tarball source is not bootstrapped. | ||
| 657 | (lambda _ | ||
| 658 | (zero? (system* "autoreconf" "-vfi"))))) | ||
| 659 | #:tests? #f)) ; FIXME: Testsuite fails, needs internet connection. | ||
| 660 | (synopsis "Library for the Tox encrypted messenger protocol") | ||
| 661 | (description | ||
| 662 | "Official fork of the C library implementation of the Tox | ||
| 663 | encrypted messenger protocol.") | ||
| 664 | (license license:gpl3+) | ||
| 665 | (home-page "https://tox.chat"))) | ||
| 666 | |||
| 625 | (define-public utox | 667 | (define-public utox |
| 626 | (package | 668 | (package |
| 627 | (name "utox") | 669 | (name "utox") |
