mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 03:53:56 +00:00
wchisp: use versionCheckHook (#361079)
This commit is contained in:
commit
d88cb592e9
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user