aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libtgvoip
diff options
context:
space:
mode:
authorIlya Fedin <fedin-ilja2010@ya.ru>2020-01-25 01:57:01 +0400
committerJon <jonringer@users.noreply.github.com>2020-01-30 19:15:40 -0800
commit7eb5376127af335d7eb44679c716886e77ed7f15 (patch)
tree48d4edf9ffb31f944ace2e4690ece82a5eea0d62 /pkgs/development/libraries/libtgvoip
parent3c5f6dca9f85978cf40a329ea84c4664c7c3358b (diff)
libtgvoip: init at unstable-2020-01-21
Diffstat (limited to 'pkgs/development/libraries/libtgvoip')
-rw-r--r--pkgs/development/libraries/libtgvoip/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libtgvoip/default.nix b/pkgs/development/libraries/libtgvoip/default.nix
new file mode 100644
index 000000000000..80c6e7e204ee
--- /dev/null
+++ b/pkgs/development/libraries/libtgvoip/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, lib, fetchFromGitHub, pkg-config, autoreconfHook
+, openssl, libopus, alsaLib, libpulseaudio
+}:
+
+with lib;
+
+stdenv.mkDerivation rec {
+ pname = "libtgvoip";
+ version = "unstable-2020-01-21";
+
+ src = fetchFromGitHub {
+ owner = "telegramdesktop";
+ repo = "libtgvoip";
+ rev = "ade4434f1c6efabecc3b548ca1f692f8d103d22a";
+ sha256 = "1bhnx3sknadx7a4qk9flh356kffb02xx32grj7cj7ik4rarccgp0";
+ };
+
+ outputs = [ "out" "dev" ];
+
+ nativeBuildInputs = [ pkg-config autoreconfHook ];
+ buildInputs = [ openssl libopus alsaLib libpulseaudio ];
+ enableParallelBuilding = true;
+
+ meta = {
+ description = "VoIP library for Telegram clients";
+ license = licenses.unlicense;
+ platforms = platforms.linux;
+ homepage = https://github.com/telegramdesktop/libtgvoip;
+ maintainers = with maintainers; [ ilya-fedin ];
+ };
+}