2020-01-24 22:57:01 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, pkg-config, autoreconfHook
|
|
|
|
, openssl, libopus, alsaLib, libpulseaudio
|
|
|
|
}:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libtgvoip";
|
2020-03-18 22:29:06 +01:00
|
|
|
version = "unstable-2020-03-02";
|
2020-01-24 22:57:01 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "telegramdesktop";
|
|
|
|
repo = "libtgvoip";
|
2020-03-18 22:29:06 +01:00
|
|
|
rev = "e422d2a80546a32ab7166a9b1058bacfc5daeefc";
|
|
|
|
sha256 = "0n6f7215k74039j0zmicjzhj6f45mq6fvkrwzyzibcrv87ib17fc";
|
2020-01-24 22:57:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/telegramdesktop/libtgvoip";
|
2020-01-24 22:57:01 +01:00
|
|
|
maintainers = with maintainers; [ ilya-fedin ];
|
|
|
|
};
|
|
|
|
}
|