lnav: add a few missing dependencies (#357675)

This commit is contained in:
Atemu 2024-11-23 19:05:01 +01:00 committed by GitHub
commit af6f9b7aa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {
@ -26,6 +30,7 @@ stdenv.mkDerivation rec {
};
enableParallelBuilding = true;
separateDebugInfo = true;
strictDeps = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
@ -34,6 +39,7 @@ stdenv.mkDerivation rec {
automake
zlib
curl.dev
re2c
];
buildInputs = [
bzip2
@ -42,6 +48,8 @@ stdenv.mkDerivation rec {
readline
sqlite
curl
gpm
libarchive
];
preConfigure = ''
@ -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";
};