2016-02-17 14:43:53 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore-dev, 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}";
|
2016-07-31 17:01:26 +01:00
|
|
|
version = "0.9.8";
|
2014-07-31 11:56:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-01-07 10:13:23 +00:00
|
|
|
owner = "GrayHatter";
|
2014-07-31 11:56:16 +01:00
|
|
|
repo = "uTox";
|
2016-02-17 14:43:53 +00:00
|
|
|
rev = "v${version}";
|
2016-07-31 17:01:26 +01:00
|
|
|
sha256 = "0ahwdwqhi1gmvw80jihc1ba4cqqnx8ifjnzazxidfdky4ikzccmn";
|
2014-07-31 11:56:16 +01:00
|
|
|
};
|
|
|
|
|
2016-01-07 10:13:23 +00:00
|
|
|
buildInputs = [ pkgconfig libtoxcore-dev dbus libvpx libX11 openal freetype
|
2016-02-17 14:43:53 +00:00
|
|
|
libv4l libXrender fontconfig libXext libXft filter-audio
|
2016-01-07 10:13:23 +00:00
|
|
|
git libsodium ];
|
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
|
|
|
};
|
|
|
|
}
|