Commit c2c9bce2 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

feroxbuster: add versionCheckHook

parent 3015bf6e
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
  pkg-config,
  rustPlatform,
  nix-update-script,
  versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
@@ -25,13 +26,20 @@ rustPlatform.buildRustPackage rec {

  OPENSSL_NO_VENDOR = true;

  nativeBuildInputs = [ pkg-config ];
  nativeBuildInputs = [
    pkg-config
    versionCheckHook
  ];

  buildInputs = [ openssl ];

  # Tests require network access
  doCheck = false;

  doInstallCheck = true;

  versionCheckProgramArg = [ "--version" ];

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

  meta = with lib; {