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

33 lines
872 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libsodium, ncurses, curl
, libtoxcore, openal, libvpx, freealut, libconfig, pkg-config, libopus
2019-05-22 12:03:39 +01:00
, qrencode, gdk-pixbuf, libnotify }:
stdenv.mkDerivation rec {
pname = "toxic";
2021-02-06 22:39:26 +00:00
version = "0.10.1";
src = fetchFromGitHub {
2017-02-14 06:59:30 +00:00
owner = "Tox";
repo = "toxic";
rev = "v${version}";
2021-02-06 22:39:26 +00:00
sha256 = "sha256-EElDi/VEYgYPpoDNatxcKQC1pnCU8kOcj0bAFojD9fU=";
};
2017-02-14 06:59:30 +00:00
makeFlags = [ "PREFIX=$(out)"];
installFlags = [ "PREFIX=$(out)"];
buildInputs = [
2019-05-22 12:03:39 +01:00
libtoxcore libsodium ncurses curl gdk-pixbuf libnotify
2021-01-15 05:42:41 +00:00
] ++ lib.optionals (!stdenv.isAarch32) [
2019-01-01 16:19:07 +00:00
openal libopus libvpx freealut qrencode
];
nativeBuildInputs = [ pkg-config libconfig ];
meta = with lib; {
description = "Reference CLI for Tox";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}