66d7126255
Since years I'm not maintaining anything of the list below other than some updates when I needed them for some reason. Other people is doing that maintenance on my behalf so I better take me out but for very few packages. Finally!
51 lines
1.3 KiB
Nix
51 lines
1.3 KiB
Nix
{ stdenv, mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
|
|
, libtoxcore
|
|
, libpthreadstubs, libXdmcp, libXScrnSaver
|
|
, qtbase, qtsvg, qttools, qttranslations
|
|
, ffmpeg, filter-audio, libexif, libsodium, libopus
|
|
, libvpx, openal, pcre, qrencode, sqlcipher
|
|
, AVFoundation ? null }:
|
|
|
|
let
|
|
version = "1.16.1";
|
|
rev = "v${version}";
|
|
|
|
in mkDerivation rec {
|
|
name = "qtox-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "qTox";
|
|
repo = "qTox";
|
|
sha256 = "05cz67yvdqjv1dmqycnc5rd0275zh94wyaa7sqdkr1iw8k5h955n";
|
|
inherit rev;
|
|
};
|
|
|
|
buildInputs = [
|
|
libtoxcore
|
|
libpthreadstubs libXdmcp libXScrnSaver
|
|
qtbase qtsvg qttranslations
|
|
ffmpeg filter-audio libexif libopus libsodium
|
|
libvpx openal pcre qrencode sqlcipher
|
|
] ++ lib.optionals stdenv.isDarwin [ AVFoundation] ;
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig qttools ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
cmakeFlags = [
|
|
"-DGIT_DESCRIBE=${rev}"
|
|
"-DENABLE_STATUSNOTIFIER=False"
|
|
"-DENABLE_GTK_SYSTRAY=False"
|
|
"-DENABLE_APPINDICATOR=False"
|
|
"-DTIMESTAMP=1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Qt Tox client";
|
|
homepage = https://tox.chat;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ jgeerds akaWolf peterhoeg ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|