nixpkgs/pkgs/applications/networking/instant-messengers/toxic/default.nix

33 lines
903 B
Nix
Raw Normal View History

2016-07-31 19:00:28 +03:00
{ stdenv, fetchFromGitHub, libsodium, ncurses, curl
2017-02-14 09:59:30 +03:00
, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig, libopus
, libqrencode, gdk_pixbuf, libnotify }:
stdenv.mkDerivation rec {
2017-02-14 09:59:30 +03:00
name = "toxic-${version}";
version = "0.8.3";
src = fetchFromGitHub {
2017-02-14 09:59:30 +03:00
owner = "Tox";
repo = "toxic";
rev = "v${version}";
sha256 = "09l2j3lwvrq7bf3051vjsnml9w63790ly3iylgf26gkrmld6k31w";
};
2017-02-14 09:59:30 +03:00
makeFlags = [ "PREFIX=$(out)"];
installFlags = [ "PREFIX=$(out)"];
buildInputs = [
2017-02-14 09:59:30 +03:00
libtoxcore libsodium ncurses curl gdk_pixbuf libnotify
] ++ stdenv.lib.optionals (!stdenv.isAarch32) [
2017-02-14 09:59:30 +03:00
openal libopus libvpx freealut libqrencode
];
2017-02-14 09:59:30 +03:00
nativeBuildInputs = [ pkgconfig libconfig ];
meta = with stdenv.lib; {
description = "Reference CLI for Tox";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jgeerds ];
platforms = platforms.linux;
};
}