From f3697439cd226f769cdc5ce962f08ad3a1a8bfd6 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 1 Apr 2020 19:03:00 -0400 Subject: [PATCH] gnu: Add bzrtp. * gnu/packages/linphone.scm (bzrtp): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/linphone.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index 705790b894..0e32500b07 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -22,7 +22,9 @@ #:use-module (gnu packages base) #:use-module (gnu packages documentation) #:use-module (gnu packages graphviz) + #:use-module (gnu packages sqlite) #:use-module (gnu packages tls) + #:use-module (gnu packages xml) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -221,3 +223,32 @@ such as conferencing.") implements the RFC 3550 standard.") (home-page "https://gitlab.linphone.org/BC/public/ortp") (license license:gpl2+))) + +(define-public bzrtp + (package + (name "bzrtp") + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri + (string-append "https://www.linphone.org/releases/sources/" name + "/" name "-" version ".tar.gz")) + (sha256 + (base32 "12y0kkh90pixaaxfyx26ca2brhy6nw57fsypp6vh8jk1illv0j5z")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; No test target + #:configure-flags + (list + "-DENABLE_STATIC=NO"))) + (inputs + `(("bctoolbox" ,bctoolbox) + ("sqlite3" ,sqlite) + ("xml2" ,libxml2))) + (synopsis "Belledonne Communications ZRTP Library") + (description "BZRTP is an implementation of ZRTP keys exchange +protocol, written in C. It is fully portable and can be executed on many +platforms including both ARM and x86.") + (home-page "https://gitlab.linphone.org/BC/public/bzrtp") + (license license:gpl2+)))