rust-traverse: add nix-update-script

This commit is contained in:
Petr Portnov
2026-03-06 17:51:45 +03:00
parent a37f46162f
commit 32012b32c0
+4 -1
View File
@@ -5,6 +5,7 @@
pkg-config,
bzip2,
zstd,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -14,7 +15,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
src = fetchFromGitHub {
owner = "dmcg310";
repo = "Rust-Traverse";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-OcCWmBNDo4AA5Pk5TQqb8hen9LlHaY09Wrm4BkrU7qA=";
};
@@ -33,6 +34,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
ZSTD_SYS_USE_PKG_CONFIG = true;
};
passthru.updateScript = nix-update-script { };
meta = {
description = "Terminal based file explorer";
homepage = "https://github.com/dmcg310/Rust-Traverse";