1 { lib, stdenv, fetchFromGitHub, libsodium, ncurses, curl
2 , libtoxcore, openal, libvpx, freealut, libconfig, pkg-config, libopus
3 , qrencode, gdk-pixbuf, libnotify }:
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 hash = "sha256-+nOjlQED2pbYwGV6IGeKK1pymBSrDVWCWKjZ42vib7E=";
16 makeFlags = [ "PREFIX=$(out)"];
17 installFlags = [ "PREFIX=$(out)"];
20 libtoxcore libsodium ncurses curl gdk-pixbuf libnotify
21 ] ++ lib.optionals (!stdenv.hostPlatform.isAarch32) [
22 openal libopus libvpx freealut qrencode
24 nativeBuildInputs = [ pkg-config libconfig ];
27 description = "Reference CLI for Tox";
28 mainProgram = "toxic";
29 homepage = "https://github.com/TokTok/toxic";
30 license = lib.licenses.gpl3Only;
31 maintainers = with lib.maintainers; [ ehmry ];
32 platforms = lib.platforms.linux;