Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
81 lines
1.9 KiB
Nix
81 lines
1.9 KiB
Nix
{
|
||
lib,
|
||
stdenv,
|
||
fetchurl,
|
||
SDL2,
|
||
ftgl,
|
||
pkg-config,
|
||
libpng,
|
||
libjpeg,
|
||
pcre2,
|
||
SDL2_image,
|
||
glew,
|
||
libGLU,
|
||
libGL,
|
||
libX11,
|
||
boost,
|
||
glm,
|
||
freetype,
|
||
}:
|
||
|
||
stdenv.mkDerivation rec {
|
||
pname = "logstalgia";
|
||
version = "1.1.4";
|
||
|
||
src = fetchurl {
|
||
url = "https://github.com/acaudwell/Logstalgia/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
|
||
hash = "sha256-wEnv9AXpJANSIu2ya8xse18AoIkmq9t7Rn4kSSQnkKk=";
|
||
};
|
||
|
||
nativeBuildInputs = [ pkg-config ];
|
||
buildInputs = [
|
||
glew
|
||
SDL2
|
||
ftgl
|
||
libpng
|
||
libjpeg
|
||
libX11
|
||
pcre2
|
||
SDL2_image
|
||
libGLU
|
||
libGL
|
||
boost
|
||
glm
|
||
freetype
|
||
];
|
||
|
||
configureFlags = [
|
||
"--with-boost-system=boost_system"
|
||
"--with-boost-filesystem=boost_filesystem"
|
||
];
|
||
|
||
meta = with lib; {
|
||
homepage = "https://logstalgia.io/";
|
||
description = "Website traffic visualization tool";
|
||
license = licenses.gpl3Plus;
|
||
|
||
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.
|
||
'';
|
||
|
||
platforms = platforms.gnu ++ platforms.linux;
|
||
maintainers = with maintainers; [ pSub ];
|
||
mainProgram = "logstalgia";
|
||
};
|
||
}
|