2017-02-14 07:00:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libtoxcore, filter-audio, dbus, libvpx, libX11, openal, freetype, libv4l
|
2016-01-07 10:13:23 +00:00
|
|
|
, libXrender, fontconfig, libXext, libXft, utillinux, git, libsodium }:
|
2014-07-31 11:56:16 +01:00
|
|
|
|
2016-02-17 14:43:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "utox-${version}";
|
2017-02-14 07:00:22 +00:00
|
|
|
version = "0.12.2";
|
2014-07-31 11:56:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-02-14 07:00:22 +00:00
|
|
|
owner = "uTox";
|
|
|
|
repo = "uTox";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1y26dpx0qc01mhv2f325ymyc3r7ihayrr10rp25p1bs24010azwn";
|
2014-07-31 11:56:16 +01:00
|
|
|
};
|
|
|
|
|
2017-02-14 07:00:22 +00:00
|
|
|
buildInputs = [
|
|
|
|
libtoxcore dbus libvpx libX11 openal freetype
|
|
|
|
libv4l libXrender fontconfig libXext libXft filter-audio
|
|
|
|
libsodium
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake git pkgconfig
|
|
|
|
];
|
2014-07-31 11:56:16 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
2016-02-17 14:43:53 +00:00
|
|
|
|
2014-09-18 08:28:32 +01:00
|
|
|
makeFlags = "PREFIX=$(out)";
|
2014-07-31 11:56:16 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Lightweight Tox client";
|
|
|
|
license = licenses.gpl3;
|
2016-05-17 12:57:28 +01:00
|
|
|
maintainers = with maintainers; [ domenkozar jgeerds ];
|
2014-12-04 01:53:48 +00:00
|
|
|
platforms = platforms.all;
|
2014-07-31 11:56:16 +01:00
|
|
|
};
|
|
|
|
}
|