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

33 lines
909 B
Nix
Raw Normal View History

2016-07-31 16:00:28 +00:00
{ stdenv, fetchFromGitHub, libsodium, ncurses, curl
2017-02-14 06:59:30 +00:00
, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig, libopus
, libqrencode, gdk_pixbuf, libnotify }:
stdenv.mkDerivation rec {
2017-02-14 06:59:30 +00:00
name = "toxic-${version}";
2018-04-19 10:20:46 +00:00
version = "0.8.2";
src = fetchFromGitHub {
2017-02-14 06:59:30 +00:00
owner = "Tox";
repo = "toxic";
rev = "v${version}";
2018-04-19 10:20:46 +00:00
sha256 = "0fwmk945nip98m3md58y3ibjmzfq25hns3xf0bmbc6fjpww8d5p5";
};
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) [
2017-02-14 06:59:30 +00:00
openal libopus libvpx freealut libqrencode
];
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; [ viric jgeerds ];
platforms = platforms.linux;
};
}