nixpkgs/pkgs/applications/networking/instant-messengers/qtox/default.nix

46 lines
1.2 KiB
Nix
Raw Normal View History

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