Skip to content

Commit

Permalink
lnav: 0.12.2 -> 0.12.3
Browse files Browse the repository at this point in the history
also add a few missing optional dependencies
enable separateDebugInfo as lnav crashes not unfrequently.
add myself as maintainer
  • Loading branch information
symphorien committed Nov 20, 2024
1 parent 685925b commit ef4ff7e
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 deletions pkgs/by-name/ln/lnav/package.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
{ lib
, stdenv
, fetchFromGitHub
, pcre2
, sqlite
, ncurses
, readline
, zlib
, bzip2
, autoconf
, automake
, curl
, buildPackages
{
lib,
stdenv,
fetchFromGitHub,
pcre2,
sqlite,
ncurses,
readline,
zlib,
bzip2,
autoconf,
automake,
curl,
buildPackages,
re2c,
gpm,
libarchive,
}:

stdenv.mkDerivation rec {
pname = "lnav";
version = "0.12.2";
version = "0.12.3";

src = fetchFromGitHub {
owner = "tstack";
repo = "lnav";
rev = "v${version}";
sha256 = "sha256-grEW3J50osKJzulNQFN7Gir5+wk1qFPc/YaT+EZMAqs=";
sha256 = "sha256-m0r7LAo9pYFpS+oimVCNCipojxPzMMsLLjhjkitEwow=";
};

enableParallelBuilding = true;
separateDebugInfo = true;

strictDeps = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
Expand All @@ -33,6 +38,7 @@ stdenv.mkDerivation rec {
automake
zlib
curl.dev
re2c
];
buildInputs = [
bzip2
Expand All @@ -41,6 +47,8 @@ stdenv.mkDerivation rec {
readline
sqlite
curl
gpm
libarchive
];

preConfigure = ''
Expand All @@ -61,7 +69,10 @@ stdenv.mkDerivation rec {
'';
downloadPage = "https://github.com/tstack/lnav/releases";
license = licenses.bsd2;
maintainers = with maintainers; [ dochang ];
maintainers = with maintainers; [
dochang
symphorien
];
platforms = platforms.unix;
mainProgram = "lnav";
};
Expand Down

0 comments on commit ef4ff7e

Please sign in to comment.