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

33 lines
879 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
2019-05-22 11:03:39 +00:00
, qrencode, gdk-pixbuf, libnotify }:
stdenv.mkDerivation rec {
pname = "toxic";
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 = [
2019-05-22 11:03:39 +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;
};
}