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