1 { stdenv, lib, fetchFromGitHub, pkg-config, autoreconfHook
2 , openssl, libopus, alsaLib, libpulseaudio
7 stdenv.mkDerivation rec {
9 version = "unstable-2020-03-02";
11 src = fetchFromGitHub {
12 owner = "telegramdesktop";
14 rev = "e422d2a80546a32ab7166a9b1058bacfc5daeefc";
15 sha256 = "0n6f7215k74039j0zmicjzhj6f45mq6fvkrwzyzibcrv87ib17fc";
18 outputs = [ "out" "dev" ];
20 nativeBuildInputs = [ pkg-config autoreconfHook ];
21 buildInputs = [ openssl libopus alsaLib libpulseaudio ];
22 enableParallelBuilding = true;
25 description = "VoIP library for Telegram clients";
26 license = licenses.unlicense;
27 platforms = platforms.linux;
28 homepage = "https://github.com/telegramdesktop/libtgvoip";
29 maintainers = with maintainers; [ ilya-fedin ];