diff --git a/pkgs/by-name/bi/binocle/package.nix b/pkgs/by-name/bi/binocle/package.nix index 07309d41d055..d4993437a559 100644 --- a/pkgs/by-name/bi/binocle/package.nix +++ b/pkgs/by-name/bi/binocle/package.nix @@ -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