3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/toxic/default.nix

33 lines
889 B
Nix
Raw Normal View History

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