Unverified Commit 0950da84 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

hyperfine: Add `versionCheckHook`

parent 5ddb7b48
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchFromGitHub,
  installShellFiles,
  nix-update-script,
  versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
@@ -31,6 +32,11 @@ rustPlatform.buildRustPackage rec {

  passthru.updateScript = nix-update-script { };

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  doInstallCheck = true;

  meta = {
    description = "Command-line benchmarking tool";
    homepage = "https://github.com/sharkdp/hyperfine";