eza: modernize (#520746)

This commit is contained in:
Fernando Rodrigues
2026-05-16 09:41:57 +00:00
committed by GitHub
+6
View File
@@ -8,6 +8,7 @@
pkg-config,
zlib,
installShellFiles,
versionCheckHook,
# once eza upstream gets support for setting up a compatibility symlink for exa, we should change
# the handling here from postInstall to passing the required argument to the builder.
exaAlias ? true,
@@ -17,6 +18,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
pname = "eza";
version = "0.23.4";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "eza-community";
repo = "eza";
@@ -57,6 +60,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
ln -s eza $out/bin/exa
'';
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "Modern, maintained replacement for ls";
longDescription = ''