diff options
author | Ilya Fedin <fedin-ilja2010@ya.ru> | 2020-01-25 01:57:01 +0400 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-30 19:15:40 -0800 |
commit | 7eb5376127af335d7eb44679c716886e77ed7f15 (patch) | |
tree | 48d4edf9ffb31f944ace2e4690ece82a5eea0d62 /pkgs/development/libraries/libtgvoip/default.nix | |
parent | 3c5f6dca9f85978cf40a329ea84c4664c7c3358b (diff) | |
download | nixpkgs-7eb5376127af335d7eb44679c716886e77ed7f15.tar nixpkgs-7eb5376127af335d7eb44679c716886e77ed7f15.tar.gz nixpkgs-7eb5376127af335d7eb44679c716886e77ed7f15.tar.bz2 nixpkgs-7eb5376127af335d7eb44679c716886e77ed7f15.tar.lz nixpkgs-7eb5376127af335d7eb44679c716886e77ed7f15.tar.xz nixpkgs-7eb5376127af335d7eb44679c716886e77ed7f15.tar.zst nixpkgs-7eb5376127af335d7eb44679c716886e77ed7f15.zip |
libtgvoip: init at unstable-2020-01-21
Diffstat (limited to 'pkgs/development/libraries/libtgvoip/default.nix')
-rw-r--r-- | pkgs/development/libraries/libtgvoip/default.nix | 31 |
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 00000000000..80c6e7e204e --- /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 ]; + }; +} |