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

33 lines
880 B
Nix
Raw Normal View History

2016-07-31 09:00:28 -07:00
{ stdenv, fetchFromGitHub, libsodium, ncurses, curl
2017-02-13 22:59:30 -08:00
, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig, libopus
2019-05-22 04:03:39 -07:00
, qrencode, gdk-pixbuf, libnotify }:
stdenv.mkDerivation rec {
pname = "toxic";
2020-12-04 20:17:01 -08:00
version = "0.10.0";
src = fetchFromGitHub {
2017-02-13 22:59:30 -08:00
owner = "Tox";
repo = "toxic";
rev = "v${version}";
2020-12-04 20:17:01 -08:00
sha256 = "1v9cdpy6i3xl70g75zg33sqi4aqp20by0pyjhjg5iz24fxvfaw6c";
};
2017-02-13 22:59:30 -08:00
makeFlags = [ "PREFIX=$(out)"];
installFlags = [ "PREFIX=$(out)"];
buildInputs = [
2019-05-22 04:03:39 -07:00
libtoxcore libsodium ncurses curl gdk-pixbuf libnotify
] ++ stdenv.lib.optionals (!stdenv.isAarch32) [
2019-01-01 08:19:07 -08:00
openal libopus libvpx freealut qrencode
];
2017-02-13 22:59:30 -08:00
nativeBuildInputs = [ pkgconfig libconfig ];
meta = with stdenv.lib; {
description = "Reference CLI for Tox";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}