binocle: add nix-update-script

This commit is contained in:
Petr Portnov
2026-03-29 15:03:57 +03:00
parent 441878d639
commit 6a42ef741a
+8
View File
@@ -9,6 +9,8 @@
libxcursor,
libx11,
vulkan-loader,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -41,10 +43,16 @@ rustPlatform.buildRustPackage (finalAttrs: {
}
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Graphical tool to visualize binary data";
mainProgram = "binocle";
homepage = "https://github.com/sharkdp/binocle";
changelog = "https://github.com/sharkdp/binocle/releases/tag/v0.3.2";
license = with lib.licenses; [
asl20 # or
mit