libopus: add pkg-config tester

This commit is contained in:
Mario Rodas 2024-03-04 04:20:00 +00:00
parent 3f801b7a65
commit 3e6487310e

View File

@ -12,6 +12,7 @@
# tests
, ffmpeg-headless
, testers
}:
stdenv.mkDerivation (finalAttrs: {
@ -54,6 +55,11 @@ stdenv.mkDerivation (finalAttrs: {
passthru.tests = {
inherit ffmpeg-headless;
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
moduleNames = [ "opus" ];
};
};
meta = with lib; {