summary refs log tree commit diff
path: root/gnu/packages/telephony.scm
diff options
context:
space:
mode:
authorBrett Gilio <brettg@gnu.org>2020-01-01 16:25:16 -0600
committerBrett Gilio <brettg@gnu.org>2020-01-01 16:25:16 -0600
commit494135d51128210bb7cd31461b2800ea7ac6e6d3 (patch)
treeca34a238376d10648ff2a25f09a6a6a35cc438a3 /gnu/packages/telephony.scm
parentd7cefb0b8bdfa91a3cf1239c1054dd314c819d35 (diff)
downloadguix-494135d51128210bb7cd31461b2800ea7ac6e6d3.tar.gz
gnu: Add libtgvoip.
* gnu/packages/telephony.scm (libtgvoip): New variable.
Diffstat (limited to 'gnu/packages/telephony.scm')
-rw-r--r--gnu/packages/telephony.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 0c9de8bd0c..e7f294a999 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
 ;;; Copyright © 2019 Ivan Vilata i Balaguer <ivan@selidor.net>
+;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -947,3 +948,27 @@ This package provides the Jami client for the GNOME desktop.")
 
 (define-public jami-client-gnome
   (deprecated-package "jami-client-gnome" jami))
+
+(define-public libtgvoip
+  (package
+    (name "libtgvoip")
+    (version "2.4.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/zevlg/libtgvoip.git")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "04dbwd3lwdannhxb2sh6z02i3lka9sb5s039pki6ka4siq5xzk1j"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("openssl" ,openssl)
+       ("libopusenc" ,libopusenc)))
+    (synopsis "VoIP library for Telegram clients")
+    (description "A collection of libraries and header files for implementing
+telephony functionality into custom Telegram clients.")
+    (home-page "https://github.com/zevlg/libtgvoip")
+    (license license:unlicense)))