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