opus-tools: add versionCheckHook for opusenc

This commit is contained in:
Doron Behar
2026-03-03 23:53:05 +02:00
parent 7ff9861cf7
commit 249cbe1333
+7
View File
@@ -8,6 +8,7 @@
flac,
opusfile,
libopusenc,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -28,6 +29,12 @@ stdenv.mkDerivation (finalAttrs: {
libopusenc
];
doInstallCheck = true;
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/opusenc";
meta = {
description = "Tools to work with opus encoded audio streams";
homepage = "https://www.opus-codec.org/";