opus-tools: add versionCheckHook for opusenc
This commit is contained in:
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user