2016-08-29 01:20:22 +02:00
|
|
|
|
{ stdenv, fetchurl, SDL2, ftgl, pkgconfig, libpng, libjpeg, pcre, SDL2_image, glew
|
2018-02-24 14:12:44 +01:00
|
|
|
|
, libGLU_combined, boost, glm, freetype }:
|
2012-01-16 12:34:00 +01:00
|
|
|
|
|
2014-10-02 18:37:38 +02:00
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
|
pname = "logstalgia";
|
2018-06-16 17:19:49 +02:00
|
|
|
|
version = "1.1.2";
|
2012-01-16 12:34:00 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
|
url = "https://github.com/acaudwell/Logstalgia/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
|
2018-06-16 17:19:49 +02:00
|
|
|
|
sha256 = "1agwjlwzp1c86hqb1p7rmzqzhd3wpnyh8whsfq4sbx01wj0l0gzd";
|
2012-01-16 12:34:00 +01:00
|
|
|
|
};
|
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-02-24 14:12:44 +01:00
|
|
|
|
buildInputs = [ glew SDL2 ftgl libpng libjpeg pcre SDL2_image libGLU_combined boost
|
2016-08-29 01:20:22 +02:00
|
|
|
|
glm freetype ];
|
2012-01-16 12:34:00 +01:00
|
|
|
|
|
2014-10-02 18:37:38 +02:00
|
|
|
|
meta = with stdenv.lib; {
|
2019-04-15 01:25:45 +02:00
|
|
|
|
homepage = https://logstalgia.io/;
|
2014-10-02 18:37:38 +02:00
|
|
|
|
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.
|
|
|
|
|
'';
|
|
|
|
|
|
2018-05-01 00:43:54 +02:00
|
|
|
|
platforms = platforms.gnu ++ platforms.linux;
|
2014-10-02 18:37:38 +02:00
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2012-01-16 12:34:00 +01:00
|
|
|
|
};
|
|
|
|
|
}
|