2014-12-04 01:47:32 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, libtool, automake, libsodium, ncurses
|
2014-07-28 18:43:53 +00:00
|
|
|
, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig }:
|
2013-10-11 19:42:42 +00:00
|
|
|
|
2014-12-04 01:47:32 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-31 02:20:12 +00:00
|
|
|
name = "toxic-dev-20150125";
|
2013-10-11 19:42:42 +00:00
|
|
|
|
2014-12-04 01:47:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tox";
|
|
|
|
repo = "toxic";
|
2015-01-31 02:20:12 +00:00
|
|
|
rev = "4badc983ea";
|
|
|
|
sha256 = "01zk6316v51f1zvp5ss53ay49h3nnaq5snlk0gxmsrmwg71bsnm6";
|
2013-10-11 19:42:42 +00:00
|
|
|
};
|
|
|
|
|
2014-12-04 01:47:32 +00:00
|
|
|
makeFlags = [ "-Cbuild" "PREFIX=$(out)" ];
|
2014-07-28 18:43:53 +00:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2013-10-11 19:42:42 +00:00
|
|
|
|
2014-07-28 18:43:53 +00:00
|
|
|
buildInputs = [
|
2014-09-23 15:58:56 +00:00
|
|
|
autoconf libtool automake libtoxcore libsodium ncurses
|
|
|
|
libconfig pkgconfig
|
|
|
|
] ++ stdenv.lib.optionals (!stdenv.isArm) [
|
|
|
|
openal libvpx freealut
|
2013-10-11 19:42:42 +00:00
|
|
|
];
|
|
|
|
|
2014-12-04 01:47:32 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-11 19:42:42 +00:00
|
|
|
description = "Reference CLI for Tox";
|
2014-12-04 01:47:32 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ viric jgeerds ];
|
|
|
|
platforms = platforms.all;
|
2013-10-11 19:42:42 +00:00
|
|
|
};
|
|
|
|
}
|