24 stdenv.mkDerivation rec {
28 src = fetchFromGitHub {
32 sha256 = "sha256-m0r7LAo9pYFpS+oimVCNCipojxPzMMsLLjhjkitEwow=";
35 enableParallelBuilding = true;
36 separateDebugInfo = true;
39 depsBuildBuild = [ buildPackages.stdenv.cc ];
47 rustPlatform.cargoSetupHook
60 ++ lib.optionals (!stdenv.isDarwin) [
64 cargoDeps = rustPlatform.fetchCargoVendor {
65 src = "${src}/src/third-party/prqlc-c";
66 hash = "sha256-jfmr6EuNW2mEHTEVHn6YnBDMzKxKI097vEFHXC4NT2Y=";
69 cargoRoot = "src/third-party/prqlc-c";
75 passthru.updateScript = nix-update-script { };
78 homepage = "https://github.com/tstack/lnav";
79 description = "Logfile Navigator";
81 The log file navigator, lnav, is an enhanced log file viewer that takes
82 advantage of any semantic information that can be gleaned from the files
83 being viewed, such as timestamps and log levels. Using this extra
84 semantic information, lnav can do things like interleaving messages from
85 different files, generate histograms of messages over time, and providing
86 hotkeys for navigating through the file. It is hoped that these features
87 will allow the user to quickly and efficiently zero in on problems.
89 downloadPage = "https://github.com/tstack/lnav/releases";
90 license = licenses.bsd2;
91 maintainers = with maintainers; [
96 platforms = platforms.unix;