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

32 lines
856 B
Nix
Raw Normal View History

2016-07-31 17:00:28 +01:00
{ stdenv, fetchFromGitHub, libsodium, ncurses, curl
, libtoxcore-dev, openal, libvpx, freealut, libconfig, pkgconfig
, libqrencode }:
stdenv.mkDerivation rec {
2016-07-31 17:00:28 +01:00
name = "toxic-dev-20160728";
src = fetchFromGitHub {
owner = "Tox";
repo = "toxic";
2016-07-31 17:00:28 +01:00
rev = "cb21672600206423c844306a84f8b122e534c348";
sha256 = "1nq1xnbyjfrk8jrjvk5sli1bm3i9r8b4m8f4xgmiz68mx1r3fn5k";
};
2016-07-31 17:00:28 +01:00
makeFlags = [ "PREFIX=$(out)" ];
installFlags = [ "PREFIX=$(out)" ];
2016-07-31 17:00:28 +01:00
nativeBuildInputs = [ pkgconfig libconfig ];
buildInputs = [
2016-12-13 21:36:12 +00:00
libtoxcore-dev libsodium ncurses curl
] ++ stdenv.lib.optionals (!stdenv.isArm) [
2016-12-13 21:36:12 +00:00
openal libvpx freealut libqrencode
];
meta = with stdenv.lib; {
description = "Reference CLI for Tox";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ viric jgeerds ];
platforms = platforms.all;
};
}