@@ -0,0 +1,49 @@
1+{ stdenv, fetchFromGitHub, pcre, sqlite, ncurses,
2+ readline, zlib, bzip2, autoconf, automake }:
4+stdenv.mkDerivation rec {
6+ name = "lnav-${meta.version}";
8+ src = fetchFromGitHub {
11+ rev = "v${meta.version}";
12+ sha256 = "06h0hy8k0w692df2490dshxf2x8qcnw5myyp0k5jkc63ai2ra6aq";
31+ meta = with stdenv.lib; {
32+ homepage = "https://github.com/tstack/lnav";
33+ description = "The Logfile Navigator";
35+ The log file navigator, lnav, is an enhanced log file viewer that takes
36+ advantage of any semantic information that can be gleaned from the files
37+ being viewed, such as timestamps and log levels. Using this extra
38+ semantic information, lnav can do things like interleaving messages from
39+ different files, generate histograms of messages over time, and providing
40+ hotkeys for navigating through the file. It is hoped that these features
41+ will allow the user to quickly and efficiently zero in on problems.
43+ downloadPage = "https://github.com/tstack/lnav/releases";
44+ license = licenses.bsd2;
46+ maintainers = [ maintainers.dochang ];