2014-10-02 18:37:38 +02:00
|
|
|
|
{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre, SDL_image, glew
|
|
|
|
|
, mesa, boost, glm }:
|
2012-01-16 12:34:00 +01:00
|
|
|
|
|
2014-10-02 18:37:38 +02:00
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
name = "logstalgia-${version}";
|
2014-10-16 09:05:57 +02:00
|
|
|
|
version = "1.0.6";
|
2012-01-16 12:34:00 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-10-02 18:37:38 +02:00
|
|
|
|
url = "https://github.com/acaudwell/Logstalgia/releases/download/${name}/${name}.tar.gz";
|
2014-10-16 09:05:57 +02:00
|
|
|
|
sha256 = "0d2zhn0q26rv2nb3hdbg0mb69l66g8pkys5is6rb0r6f5is986x8";
|
2012-01-16 12:34:00 +01:00
|
|
|
|
};
|
|
|
|
|
|
2014-10-02 18:37:38 +02:00
|
|
|
|
buildInputs = [ glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa boost
|
|
|
|
|
glm ];
|
2012-01-16 12:34:00 +01:00
|
|
|
|
|
2014-12-04 14:30:17 +01:00
|
|
|
|
NIX_CFLAGS_COMPILE = "-std=c++11"; # fix build with glm >= 0.9.6.0
|
|
|
|
|
|
2014-10-02 18:37:38 +02:00
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
homepage = http://code.google.com/p/logstalgia;
|
|
|
|
|
description = "Website traffic visualization tool";
|
|
|
|
|
license = licenses.gpl3Plus;
|
2012-01-16 12:34:00 +01:00
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
Logstalgia is a website traffic visualization that replays or
|
|
|
|
|
streams web-server access logs as a pong-like battle between the
|
|
|
|
|
web server and an never ending torrent of requests.
|
|
|
|
|
|
|
|
|
|
Requests appear as colored balls (the same color as the host)
|
|
|
|
|
which travel across the screen to arrive at the requested
|
|
|
|
|
location. Successful requests are hit by the paddle while
|
|
|
|
|
unsuccessful ones (eg 404 - File Not Found) are missed and pass
|
|
|
|
|
through.
|
|
|
|
|
|
|
|
|
|
The paths of requests are summarized within the available space by
|
|
|
|
|
identifying common path prefixes. Related paths are grouped
|
|
|
|
|
together under headings. For instance, by default paths ending in
|
|
|
|
|
png, gif or jpg are grouped under the heading Images. Paths that
|
|
|
|
|
don’t match any of the specified groups are lumped together under
|
|
|
|
|
a Miscellaneous section.
|
|
|
|
|
'';
|
|
|
|
|
|
2014-10-02 18:37:38 +02:00
|
|
|
|
platforms = platforms.gnu;
|
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2012-01-16 12:34:00 +01:00
|
|
|
|
};
|
|
|
|
|
}
|