ng0 writes: > * gnu/packages/messaging.scm (toxic): New variable. > --- > gnu/packages/messaging.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm > index 4290a9f69..24728cc06 100644 > --- a/gnu/packages/messaging.scm > +++ b/gnu/packages/messaging.scm > @@ -40,6 +40,7 @@ > #:use-module (gnu packages autotools) > #:use-module (gnu packages avahi) > #:use-module (gnu packages check) > + #:use-module (gnu packages curl) > #:use-module (gnu packages crypto) > #:use-module (gnu packages cyrus-sasl) > #:use-module (gnu packages databases) > @@ -70,12 +71,14 @@ > #:use-module (gnu packages linux) > #:use-module (gnu packages tls) > #:use-module (gnu packages icu4c) > + #:use-module (gnu packages image) > #:use-module (gnu packages qt) > #:use-module (gnu packages video) > #:use-module (gnu packages web) > #:use-module (gnu packages xiph) > #:use-module (gnu packages audio) > #:use-module (gnu packages bison) > + #:use-module (gnu packages textutils) > #:use-module (gnu packages fontutils)) > > (define-public libotr > @@ -767,6 +770,50 @@ guidelines. It provides an easy to use application that allows you to > connect with friends and family without anyone else listening in.") > (license license:gpl3+))) > > +(define-public toxic > + (package > + (name "toxic") > + (version "0.7.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/JFreegman/toxic/archive/" > + "v" version ".tar.gz")) > + (sha256 > + (base32 > + "0nbcj71ffl85l396bxc5cs8d7abn4b7absaj5asq9bvcfv52m5m2")) > + (file-name (string-append name "-" version ".tar.gz")))) > + (inputs > + `(("ncurses" ,ncurses) I'm not sure what's up here. IIRC, we don't install the ncurses *.pc files. If I'm wrong, someone please correct me. > + ("libconfig" ,libconfig) > + ("curl" ,curl) > + ("libsodium" ,libsodium) > + ("freealut" ,freealut) > + ("libnotify" ,libnotify) Adding gdk-pixbuf as a dependency satisfied pkg-config here. Apparently it's a dependency when you try to use "pkg-config --libs libnotify" with just libnotify installed. > + ("c-toxcore" ,c-toxcore) > + ("openal" ,openal) > + ("libvpx" ,libvpx) > + ("libx11" ,libx11) > + ("libpng" ,libpng) > + ("qrencode" ,qrencode))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("libconfig" ,libconfig))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; no tests > + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) > + #:phases > + (modify-phases %standard-phases > + (delete 'configure)))) > + (home-page "https://github.com/JFreegman/toxic/") > + (synopsis "Tox client using an ncurses interface") > + (description > + "Toxic is a small tox clien. It provides an easy to use application *client. > +that allows you to connect with friends and family without anyone else > +listening in.") > + (license license:gpl3+))) > + > (define-public pybitmessage > (package > (name "pybitmessage")