songrec: add versionCheckHook

This commit is contained in:
Tomas Rivera
2026-06-05 12:17:43 +02:00
parent 3a219f6445
commit b9497d93ec
+4
View File
@@ -12,6 +12,7 @@
ffmpeg,
glib,
libpulseaudio,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -52,6 +53,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
mv packaging/rootfs/usr/share $out/share
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
meta = {
description = "Open-source Shazam client for Linux, written in Rust";
homepage = "https://github.com/marin-m/SongRec";