lnav: add prql support

This commit is contained in:
pcasaretto
2024-12-02 11:14:02 -03:00
parent 19f40a308c
commit 244e595e0b
+13 -1
View File
@@ -16,6 +16,9 @@
gpm,
libarchive,
nix-update-script,
cargo,
rustPlatform,
rustc,
}:
stdenv.mkDerivation rec {
@@ -40,6 +43,9 @@ stdenv.mkDerivation rec {
zlib
curl.dev
re2c
cargo
rustPlatform.cargoSetupHook
rustc
];
buildInputs = [
bzip2
@@ -48,10 +54,16 @@ stdenv.mkDerivation rec {
readline
sqlite
curl
gpm
libarchive
];
cargoDeps = rustPlatform.fetchCargoVendor {
src = "${src}/src/third-party/prqlc-c";
hash = "sha256-jfmr6EuNW2mEHTEVHn6YnBDMzKxKI097vEFHXC4NT2Y=";
};
cargoRoot = "src/third-party/prqlc-c";
preConfigure = ''
./autogen.sh
'';