summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodoros Foradis <theodoros.for@openmailbox.org>2017-07-02 21:24:16 +0300
committerLudovic Courtès <ludo@gnu.org>2017-07-02 22:52:27 +0200
commit61f81618a87ce4fc3b93c3ac3fa7aa2f148c1ed8 (patch)
tree683f33452b1f525e52d10f77b0b93d0cd6596535
parented3485fa9c6c758bff1fb7391c8360c2c93e7337 (diff)
gnu: Add toxic.
* gnu/packages/messaging.scm (toxic): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/messaging.scm53
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 425a7c4c23f..aefd24b8497 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -11,6 +11,7 @@
11;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com> 11;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
12;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> 12;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
13;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> 13;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
14;;; Copyright © 2017 Theodoros Foradis <theodoros.for@openmailbox.org>
14;;; 15;;;
15;;; This file is part of GNU Guix. 16;;; This file is part of GNU Guix.
16;;; 17;;;
@@ -54,6 +55,7 @@
54 #:use-module (gnu packages gettext) 55 #:use-module (gnu packages gettext)
55 #:use-module (gnu packages gnome) 56 #:use-module (gnu packages gnome)
56 #:use-module (gnu packages gtk) 57 #:use-module (gnu packages gtk)
58 #:use-module (gnu packages image)
57 #:use-module (gnu packages xorg) 59 #:use-module (gnu packages xorg)
58 #:use-module (gnu packages xdisorg) 60 #:use-module (gnu packages xdisorg)
59 #:use-module (gnu packages libcanberra) 61 #:use-module (gnu packages libcanberra)
@@ -74,6 +76,7 @@
74 #:use-module (gnu packages check) 76 #:use-module (gnu packages check)
75 #:use-module (gnu packages admin) 77 #:use-module (gnu packages admin)
76 #:use-module (gnu packages linux) 78 #:use-module (gnu packages linux)
79 #:use-module (gnu packages textutils)
77 #:use-module (gnu packages tls) 80 #:use-module (gnu packages tls)
78 #:use-module (gnu packages icu4c) 81 #:use-module (gnu packages icu4c)
79 #:use-module (gnu packages qt) 82 #:use-module (gnu packages qt)
@@ -1394,4 +1397,54 @@ RFC standards as well as non-standard but popular features. It can be used for
1394building the IRC clients and bots.") 1397building the IRC clients and bots.")
1395 (license license:lgpl3+))) 1398 (license license:lgpl3+)))
1396 1399
1400(define-public toxic
1401 (package
1402 (name "toxic")
1403 (version "0.8.0")
1404 (source (origin
1405 (method url-fetch)
1406 (uri (string-append "https://github.com/JFreegman/toxic/archive/v"
1407 version ".tar.gz"))
1408 (sha256
1409 (base32
1410 "0166lqb47f4kj34mhi57aqmnk9mh4hsicmbdsj6ag54sy1zicy20"))
1411 (file-name (git-file-name name version))))
1412 (build-system gnu-build-system)
1413 (arguments
1414 `(#:tests? #f ; no tests
1415 #:make-flags
1416 (list
1417 "CC=gcc"
1418 (string-append "PREFIX="
1419 (assoc-ref %outputs "out")))
1420 #:phases
1421 (modify-phases %standard-phases
1422 (delete 'configure)
1423 (add-before 'build 'enable-python-scripting
1424 (lambda _
1425 (setenv "ENABLE_PYTHON" "1")
1426 #t)))))
1427 (inputs
1428 `(("c-toxcore" ,c-toxcore)
1429 ("curl" ,curl)
1430 ("freealut" ,freealut)
1431 ("gdk-pixbuf" ,gdk-pixbuf) ; for libnotify.pc
1432 ("libconfig" ,libconfig)
1433 ("libnotify" ,libnotify)
1434 ("libpng" ,libpng)
1435 ("libvpx" ,libvpx)
1436 ("libx11" ,libx11)
1437 ("ncurses" ,ncurses)
1438 ("openal" ,openal)
1439 ("python" ,python)
1440 ("qrencode" ,qrencode)))
1441 (native-inputs
1442 `(("pkg-config" ,pkg-config)))
1443 (home-page "https://github.com/JFreegman/toxic")
1444 (synopsis "Tox chat client using ncurses")
1445 (description "Toxic is a console-based instant messaging client, using
1446c-toxcore and ncurses. It provides audio calls, sound and desktop
1447notifications, and Python scripting support.")
1448 (license license:gpl3+)))
1449
1397;;; messaging.scm ends here 1450;;; messaging.scm ends here