Unverified Commit 69086419 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

oha: Add versionCheckHook

parent 0d9f54e2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
  pkg-config,
  openssl,
  rust-jemalloc-sys,
  versionCheckHook,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -33,6 +34,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
  # tests don't work inside the sandbox
  doCheck = false;

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  doInstallCheck = true;

  meta = {
    description = "HTTP load generator inspired by rakyll/hey with tui animation";
    homepage = "https://github.com/hatoo/oha";