toxic: 20160728 -> 0.7.2

This commit is contained in:
Peter Hoeg 2017-02-14 14:59:30 +08:00
parent eb52ef12c2
commit a66e04d3be

View File

@ -1,26 +1,27 @@
{ stdenv, fetchFromGitHub, libsodium, ncurses, curl { stdenv, fetchFromGitHub, libsodium, ncurses, curl
, libtoxcore-dev, openal, libvpx, freealut, libconfig, pkgconfig , libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig, libopus
, libqrencode }: , libqrencode, gdk_pixbuf, libnotify }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "toxic-dev-20160728"; name = "toxic-${version}";
version = "0.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Tox"; owner = "Tox";
repo = "toxic"; repo = "toxic";
rev = "cb21672600206423c844306a84f8b122e534c348"; rev = "v${version}";
sha256 = "1nq1xnbyjfrk8jrjvk5sli1bm3i9r8b4m8f4xgmiz68mx1r3fn5k"; sha256 = "1kws6bx5va1wc0k6pqihrla91vicxk4zqghvxiylgfbjr1jnkvwc";
}; };
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [ "PREFIX=$(out)"];
installFlags = [ "PREFIX=$(out)" ]; installFlags = [ "PREFIX=$(out)"];
nativeBuildInputs = [ pkgconfig libconfig ];
buildInputs = [ buildInputs = [
libtoxcore-dev libsodium ncurses curl libtoxcore libsodium ncurses curl gdk_pixbuf libnotify
] ++ stdenv.lib.optionals (!stdenv.isArm) [ ] ++ stdenv.lib.optionals (!stdenv.isArm) [
openal libvpx freealut libqrencode openal libopus libvpx freealut libqrencode
]; ];
nativeBuildInputs = [ pkgconfig libconfig ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Reference CLI for Tox"; description = "Reference CLI for Tox";