tdesktop: 2.5.1 -> 2.5.7

This commit is contained in:
Michael Weiss 2021-01-28 21:04:08 +01:00
parent 78da1c502b
commit 2b66bbd845
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
2 changed files with 10 additions and 5 deletions

View File

@ -22,12 +22,12 @@ let
in mkDerivation rec {
pname = "telegram-desktop";
version = "2.5.1";
version = "2.5.7";
# Telegram-Desktop with submodules
src = fetchurl {
url = "https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz";
sha256 = "1qpap599h2c4hlmr00k82r6138ym4zqrbfpvm97gm97adn3mxk7i";
sha256 = "1f6jsdm1kzf8l5zlbmvqz6xa771v2zc9fa92gn8s6d4nb83zr77b";
};
postPatch = ''
@ -44,7 +44,7 @@ in mkDerivation rec {
nativeBuildInputs = [ pkg-config cmake ninja python3 wrapGAppsHook wrapQtAppsHook removeReferencesTo ];
buildInputs = [
qtbase qtimageformats gtk3 libsForQt5.libdbusmenu enchant2 lz4 xxHash
qtbase qtimageformats gtk3 libsForQt5.kwayland libsForQt5.libdbusmenu enchant2 lz4 xxHash
dee ffmpeg openalSoft minizip libopus alsaLib libpulseaudio range-v3
tl-expected hunspell
tg_owt

View File

@ -3,8 +3,8 @@
}:
let
rev = "6eaebec41b34a0a0d98f02892d0cfe6bbcbc0a39";
sha256 = "0dbc36j09jmxvznal55hi3qrfyvj4y0ila6347nav9skcmk8fm64";
rev = "be23804afce3bb2e80a1d57a7c1318c71b82b7de";
sha256 = "0avdxkig8z1ainzyxkm9vmlvkyqbjalwb4h9s9kcail82mnldnhc";
in stdenv.mkDerivation {
pname = "tg_owt";
@ -25,5 +25,10 @@ in stdenv.mkDerivation {
libjpeg openssl libopus ffmpeg alsaLib libpulseaudio protobuf
];
cmakeFlags = [
# Building as a shared library isn't officially supported and currently broken:
"-DBUILD_SHARED_LIBS=OFF"
];
meta.license = lib.licenses.bsd3;
}