binocle: add nix-update-script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user