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-08-25 17:13:50 +02:00
|
|
|
version = "0.4.7";
|
|
|
|
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";
|
|
|
|
sha256 = "0rcrcqzvicz7787fa4b7f68qnwq6wqbyrm8ii850f1w7vnxq9dkq";
|
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;
|
|
|
|
};
|
|
|
|
}
|