2017-07-19 03:44:42 +01:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig,
|
|
|
|
libtoxcore,
|
|
|
|
libpthreadstubs, libXdmcp, libXScrnSaver,
|
|
|
|
qtbase, qtsvg, qttools, qttranslations,
|
2017-10-02 10:39:23 +01:00
|
|
|
ffmpeg, filter-audio, libexif, libsodium, libopus,
|
2017-09-11 07:54:48 +01:00
|
|
|
libvpx, openal, opencv, pcre, qrencode, sqlcipher }:
|
2015-09-25 17:36:23 +01:00
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
mkDerivation rec {
|
2016-02-15 00:07:15 +00:00
|
|
|
name = "qtox-${version}";
|
2017-11-26 14:56:02 +00:00
|
|
|
version = "1.13.0";
|
2014-09-18 08:51:43 +01:00
|
|
|
|
2016-02-15 00:07:15 +00:00
|
|
|
src = fetchFromGitHub {
|
2017-10-02 10:39:23 +01:00
|
|
|
owner = "qTox";
|
2017-02-14 07:00:42 +00:00
|
|
|
repo = "qTox";
|
|
|
|
rev = "v${version}";
|
2017-11-26 14:56:02 +00:00
|
|
|
sha256 = "08x71p23d0sp0w11k8z3wf3k56iclmdq9x652n8ggidgyrdi9f6y";
|
2014-09-18 08:51:43 +01:00
|
|
|
};
|
|
|
|
|
2017-02-14 07:00:42 +00:00
|
|
|
buildInputs = [
|
2017-07-19 03:44:42 +01:00
|
|
|
libtoxcore
|
|
|
|
libpthreadstubs libXdmcp libXScrnSaver
|
2017-11-09 12:47:29 +00:00
|
|
|
qtbase qtsvg qttranslations
|
2017-10-02 10:39:23 +01:00
|
|
|
ffmpeg filter-audio libexif libopus libsodium
|
2017-09-11 07:54:48 +01:00
|
|
|
libvpx openal opencv pcre qrencode sqlcipher
|
2017-07-19 03:44:42 +01:00
|
|
|
];
|
2017-02-14 07:00:42 +00:00
|
|
|
|
2017-11-09 12:47:29 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig qttools ];
|
2015-06-29 18:43:40 +01:00
|
|
|
|
2017-09-11 07:54:48 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-03-21 02:04:21 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DGIT_DESCRIBE=${version}"
|
2017-09-11 07:54:48 +01:00
|
|
|
"-DENABLE_STATUSNOTIFIER=False"
|
|
|
|
"-DENABLE_GTK_SYSTRAY=False"
|
|
|
|
"-DENABLE_APPINDICATOR=False"
|
2017-03-21 02:04:21 +00:00
|
|
|
];
|
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
meta = with lib; {
|
2015-09-25 17:36:23 +01:00
|
|
|
description = "Qt Tox client";
|
2017-10-02 10:39:23 +01:00
|
|
|
homepage = https://tox.chat;
|
2017-09-11 07:54:48 +01:00
|
|
|
license = licenses.gpl3;
|
2017-05-09 06:21:52 +01:00
|
|
|
maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ];
|
2017-09-11 07:54:48 +01:00
|
|
|
platforms = platforms.all;
|
2014-09-18 08:51:43 +01:00
|
|
|
};
|
2015-08-21 17:51:12 +01:00
|
|
|
}
|