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