Unverified Commit d88cb592 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

wchisp: use versionCheckHook (#361079)

parents c584da64 0f8f5cb2
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -6,8 +6,7 @@
  pkg-config,
  libusb1,
  nix-update-script,
  testers,
  wchisp,
  versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
@@ -27,11 +26,11 @@ rustPlatform.buildRustPackage rec {
    libusb1
  ];

  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

  passthru = {
    updateScript = nix-update-script { };
    tests.version = testers.testVersion {
      package = wchisp;
    };
  };

  meta = {