2013-10-11 12:42:42 -07:00
|
|
|
{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses
|
2014-07-28 11:43:53 -07:00
|
|
|
, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig }:
|
2013-10-11 12:42:42 -07:00
|
|
|
|
|
|
|
let
|
2014-07-28 11:43:53 -07:00
|
|
|
version = "7566aa9d26";
|
|
|
|
date = "20140728";
|
2013-10-11 12:42:42 -07:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "toxic-${date}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Tox/toxic/tarball/${version}";
|
|
|
|
name = "${name}.tar.gz";
|
2014-07-28 11:43:53 -07:00
|
|
|
sha256 = "13vns0qc0hxhab6rpz0irnzgv42mp3v1nrbwm90iymhf4xkc9nwa";
|
2013-10-11 12:42:42 -07:00
|
|
|
};
|
|
|
|
|
2014-07-28 11:43:53 -07:00
|
|
|
makeFlags = [ "-Cbuild" "VERSION=${version}" ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2013-10-11 12:42:42 -07:00
|
|
|
|
2014-07-28 11:43:53 -07:00
|
|
|
buildInputs = [
|
|
|
|
autoconf libtool automake libtoxcore libsodium ncurses openal libvpx
|
|
|
|
freealut libconfig pkgconfig
|
2013-10-11 12:42:42 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Reference CLI for Tox";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-10-11 12:42:42 -07:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|