e6e8565131
Last successful build 2014-03-12 17:47:58 https://hydra.nixos.org/build/59716009
32 lines
905 B
Nix
32 lines
905 B
Nix
{ stdenv, fetchFromGitHub, libsodium, ncurses, curl
|
|
, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig, libopus
|
|
, libqrencode, gdk_pixbuf, libnotify }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "toxic-${version}";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Tox";
|
|
repo = "toxic";
|
|
rev = "v${version}";
|
|
sha256 = "1kws6bx5va1wc0k6pqihrla91vicxk4zqghvxiylgfbjr1jnkvwc";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)"];
|
|
installFlags = [ "PREFIX=$(out)"];
|
|
|
|
buildInputs = [
|
|
libtoxcore libsodium ncurses curl gdk_pixbuf libnotify
|
|
] ++ stdenv.lib.optionals (!stdenv.isArm) [
|
|
openal libopus libvpx freealut libqrencode
|
|
];
|
|
nativeBuildInputs = [ pkgconfig libconfig ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Reference CLI for Tox";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ viric jgeerds ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|