2013-10-11 19:42:42 +00:00
|
|
|
{ stdenv, fetchurl, 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
|
|
|
|
|
|
|
let
|
2014-09-18 07:23:01 +00:00
|
|
|
version = "0.5.0";
|
2014-08-25 15:13:50 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "toxic-${version}";
|
2013-10-11 19:42:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-25 15:13:50 +00:00
|
|
|
url = "https://github.com/Tox/toxic/archive/v${version}.tar.gz";
|
2014-09-18 07:23:01 +00:00
|
|
|
sha256 = "01k32431zay1mdqvrw5qk0pjxb7gkcxr78w1a06g23b7ymjwfawv";
|
2013-10-11 19:42:42 +00:00
|
|
|
};
|
|
|
|
|
2014-07-28 18:43:53 +00:00
|
|
|
makeFlags = [ "-Cbuild" "VERSION=${version}" ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2013-10-11 19:42:42 +00:00
|
|
|
|
2014-07-28 18:43:53 +00:00
|
|
|
buildInputs = [
|
|
|
|
autoconf libtool automake libtoxcore libsodium ncurses openal libvpx
|
|
|
|
freealut libconfig pkgconfig
|
2013-10-11 19:42:42 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Reference CLI for Tox";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-10-11 19:42:42 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|