46 lines
1.2 KiB
Nix
46 lines
1.2 KiB
Nix
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig,
|
|
libtoxcore,
|
|
libpthreadstubs, libXdmcp, libXScrnSaver,
|
|
qtbase, qtsvg, qttools, qttranslations,
|
|
ffmpeg, filter-audio, libexif, libsodium, libopus,
|
|
libvpx, openal, opencv, pcre, qrencode, sqlcipher }:
|
|
|
|
mkDerivation rec {
|
|
name = "qtox-${version}";
|
|
version = "1.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "qTox";
|
|
repo = "qTox";
|
|
rev = "v${version}";
|
|
sha256 = "08x71p23d0sp0w11k8z3wf3k56iclmdq9x652n8ggidgyrdi9f6y";
|
|
};
|
|
|
|
buildInputs = [
|
|
libtoxcore
|
|
libpthreadstubs libXdmcp libXScrnSaver
|
|
qtbase qtsvg qttranslations
|
|
ffmpeg filter-audio libexif libopus libsodium
|
|
libvpx openal opencv pcre qrencode sqlcipher
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig qttools ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
cmakeFlags = [
|
|
"-DGIT_DESCRIBE=${version}"
|
|
"-DENABLE_STATUSNOTIFIER=False"
|
|
"-DENABLE_GTK_SYSTRAY=False"
|
|
"-DENABLE_APPINDICATOR=False"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Qt Tox client";
|
|
homepage = https://tox.chat;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|