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

49 lines
1.2 KiB
Nix
Raw Normal View History

2017-02-14 08:00:42 +01:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, openal, opencv,
libtoxcore, libsodium, libXScrnSaver, glib, gdk_pixbuf, gtk2, cairo, xorg,
2016-04-17 01:35:28 +02:00
pango, atk, qrencode, ffmpeg, filter-audio, makeQtWrapper,
2017-02-14 08:00:42 +01:00
qtbase, qtsvg, qttools, qttranslations, sqlcipher,
libvpx, libopus }:
2015-09-25 18:36:23 +02:00
2015-06-29 19:43:40 +02:00
stdenv.mkDerivation rec {
name = "qtox-${version}";
2017-02-14 08:00:42 +01:00
version = "1.8.1";
src = fetchFromGitHub {
2017-02-14 08:00:42 +01:00
owner = "tux3";
repo = "qTox";
rev = "v${version}";
sha256 = "073kwfaw5n7vvcpwrpdbw5mlswbbwjipx7yy4a95r9z0gjljqnhq";
};
2017-02-14 08:00:42 +01:00
buildInputs = [
libtoxcore openal opencv libsodium filter-audio
qtbase qttools qtsvg libXScrnSaver glib gtk2 cairo
pango atk qrencode ffmpeg qttranslations
sqlcipher
libopus libvpx
] ++ (with xorg; [
libpthreadstubs libXdmcp
]);
nativeBuildInputs = [ cmake makeQtWrapper pkgconfig ];
2015-06-29 19:43:40 +02:00
installPhase = ''
runHook preInstall
2014-12-04 11:26:00 +01:00
mkdir -p $out/bin
cp qtox $out/bin
2016-04-17 01:35:28 +02:00
wrapQtProgram $out/bin/qtox
runHook postInstall
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
2015-09-25 18:36:23 +02:00
description = "Qt Tox client";
license = licenses.gpl3;
2015-09-25 18:36:23 +02:00
maintainers = with maintainers; [ viric jgeerds akaWolf ];
platforms = platforms.all;
};
2015-08-21 18:51:12 +02:00
}