1 { lib, stdenv, fetchFromGitHub, check, cmake, pkg-config
2 , libtoxcore, filter-audio, dbus, libvpx, libX11, openal, freetype, libv4l
3 , libXrender, fontconfig, libXext, libXft, libsodium, libopus }:
5 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "sha256-DxnolxUTn+CL6TbZHKLHOUMTHhtTSWufzzOTRpKjOwc=";
15 fetchSubmodules = true;
19 libtoxcore dbus libvpx libX11 openal freetype
20 libv4l libXrender fontconfig libXext libXft filter-audio
29 "-DENABLE_AUTOUPDATE=OFF"
30 "-DENABLE_TESTS=${if doCheck then "ON" else "OFF"}"
33 doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
34 nativeCheckInputs = [ check ];
37 description = "Lightweight Tox client";
39 homepage = "https://github.com/uTox/uTox";
40 license = licenses.gpl3;
41 maintainers = with maintainers; [ ];
42 platforms = platforms.all;