1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/instant-messengers/qtox/default.nix

48 lines
1.2 KiB
Nix
Raw Normal View History

2017-07-19 03:44:42 +01:00
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig,
libtoxcore,
libpthreadstubs, libXdmcp, libXScrnSaver,
qtbase, qtsvg, qttools, qttranslations,
atk, cairo, ffmpeg, filter-audio, gdk_pixbuf, glib, gtk2, libsodium, libopus,
libvpx, openal, opencv, pango, pcre, qrencode, sqlcipher }:
2015-09-25 17:36:23 +01:00
2017-05-17 20:26:11 +01:00
mkDerivation rec {
name = "qtox-${version}";
2017-07-17 23:39:29 +01:00
version = "1.11.0";
src = fetchFromGitHub {
2017-02-14 07:00:42 +00:00
owner = "tux3";
repo = "qTox";
rev = "v${version}";
2017-07-17 23:39:29 +01:00
sha256 = "0h8v359h1xn2xm6xa9q56mjiw58ap1bpiwx1dxxmphjildxadwck";
};
2017-02-14 07:00:42 +00:00
buildInputs = [
2017-07-19 03:44:42 +01:00
libtoxcore
libpthreadstubs libXdmcp libXScrnSaver
qtbase qtsvg qttools qttranslations
atk cairo ffmpeg filter-audio gdk_pixbuf glib gtk2 libopus libsodium
libvpx openal opencv pango pcre qrencode sqlcipher
];
2017-02-14 07:00:42 +00:00
2017-05-17 20:26:11 +01:00
nativeBuildInputs = [ cmake pkgconfig ];
2015-06-29 18:43:40 +01:00
2017-03-21 02:04:21 +00:00
cmakeFlags = [
"-DGIT_DESCRIBE=${version}"
];
installPhase = ''
runHook preInstall
2017-05-09 06:21:52 +01:00
install -Dm755 qtox $out/bin/qtox
runHook postInstall
'';
2017-05-17 20:26:11 +01:00
meta = with lib; {
2015-09-25 17:36:23 +01:00
description = "Qt Tox client";
license = licenses.gpl3;
2017-05-09 06:21:52 +01:00
maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ];
platforms = platforms.all;
};
2015-08-21 17:51:12 +01:00
}