Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
83 lines
1.3 KiB
Nix
83 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
perl,
|
|
kdePackages,
|
|
libtoxcore,
|
|
libpthreadstubs,
|
|
libXdmcp,
|
|
libXScrnSaver,
|
|
ffmpeg,
|
|
filter-audio,
|
|
libexif,
|
|
libsodium,
|
|
libopus,
|
|
libvpx,
|
|
openal,
|
|
pcre,
|
|
qrencode,
|
|
qt6,
|
|
sqlcipher,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qtox";
|
|
version = "1.18.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TokTok";
|
|
repo = "qTox";
|
|
tag = "v${version}";
|
|
hash = "sha256-5pH39NsJdt4+ldlbpkvA0n/X/LkEUEv4UL1K/W3BqmM=";
|
|
};
|
|
|
|
buildInputs = [
|
|
kdePackages.sonnet
|
|
libtoxcore
|
|
libpthreadstubs
|
|
libXdmcp
|
|
libXScrnSaver
|
|
ffmpeg
|
|
filter-audio
|
|
libexif
|
|
libopus
|
|
libsodium
|
|
libvpx
|
|
openal
|
|
pcre
|
|
qrencode
|
|
qt6.qtbase
|
|
qt6.qtsvg
|
|
sqlcipher
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
qt6.qttools
|
|
qt6.wrapQtAppsHook
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [ perl ];
|
|
|
|
cmakeFlags = [
|
|
"-DGIT_DESCRIBE=v${version}"
|
|
"-DTIMESTAMP=1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
description = "Qt Tox client";
|
|
mainProgram = "qtox";
|
|
homepage = "https://tox.chat";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [
|
|
akaWolf
|
|
peterhoeg
|
|
];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|