2020-01-24 21:58:58 +00:00
|
|
|
|
{ mkDerivation, lib, fetchFromGitHub, pkg-config, python3, cmake, ninja
|
2021-02-01 08:05:09 +00:00
|
|
|
|
, qtbase, qtimageformats, libdbusmenu, hunspell, xdg-utils, ffmpeg_3, openalSoft
|
2021-03-14 18:12:53 +00:00
|
|
|
|
, xz, lz4, xxHash, zlib, minizip, openssl, libtgvoip, microsoft_gsl, tl-expected
|
2020-03-18 21:34:44 +00:00
|
|
|
|
, range-v3
|
2020-01-24 21:58:58 +00:00
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
|
pname = "kotatogram-desktop";
|
2020-03-18 21:34:44 +00:00
|
|
|
|
version = "1.2";
|
2020-01-24 21:58:58 +00:00
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "kotatogram";
|
|
|
|
|
repo = "kotatogram-desktop";
|
|
|
|
|
rev = "k${version}";
|
2020-03-18 21:34:44 +00:00
|
|
|
|
sha256 = "00pdx3cjhrihf7ihhmszcf159jrzn1bcx20vwiiizs5r1qk8l210";
|
2020-01-24 21:58:58 +00:00
|
|
|
|
fetchSubmodules = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config python3 cmake ninja ];
|
|
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-03-14 18:12:53 +00:00
|
|
|
|
qtbase qtimageformats ffmpeg_3 openalSoft xz lz4 xxHash libdbusmenu
|
2020-03-18 21:34:44 +00:00
|
|
|
|
zlib minizip openssl hunspell libtgvoip microsoft_gsl tl-expected range-v3
|
2020-01-24 21:58:58 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
qtWrapperArgs = [
|
2021-02-01 08:05:09 +00:00
|
|
|
|
"--prefix PATH : ${xdg-utils}/bin"
|
2020-01-24 21:58:58 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
|
"-DTDESKTOP_API_TEST=ON"
|
|
|
|
|
"-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF"
|
2020-03-18 21:34:44 +00:00
|
|
|
|
"-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF"
|
2020-01-24 21:58:58 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Kotatogram – experimental Telegram Desktop fork";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
Unofficial desktop client for the Telegram messenger, based on Telegram Desktop.
|
|
|
|
|
|
|
|
|
|
It contains some useful (or purely cosmetic) features, but they could be unstable. A detailed list is available here: https://kotatogram.github.io/changes
|
|
|
|
|
'';
|
|
|
|
|
license = licenses.gpl3;
|
|
|
|
|
platforms = platforms.linux;
|
2020-04-01 01:11:51 +00:00
|
|
|
|
homepage = "https://kotatogram.github.io";
|
2020-01-24 21:58:58 +00:00
|
|
|
|
maintainers = with maintainers; [ ilya-fedin ];
|
|
|
|
|
};
|
|
|
|
|
}
|