Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 26 additions & 15 deletions pkgs/by-name/ln/lnav/package.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
{ lib
, stdenv
, fetchFromGitHub
, pcre2
, sqlite
, ncurses
, readline
, zlib
, bzip2
, autoconf
, automake
, curl
, buildPackages
, nix-update-script
{
lib,
stdenv,
fetchFromGitHub,
pcre2,
sqlite,
ncurses,
readline,
zlib,
bzip2,
autoconf,
automake,
curl,
buildPackages,
re2c,
gpm,
libarchive,
nix-update-script,
}:

stdenv.mkDerivation rec {
Expand All @@ -26,6 +30,7 @@ stdenv.mkDerivation rec {
};

enableParallelBuilding = true;
separateDebugInfo = true;

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

preConfigure = ''
Expand All @@ -64,7 +72,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