libopus: add passthru.updateScript

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

View File

@ -2,6 +2,7 @@
, stdenv
, fetchpatch
, fetchurl
, gitUpdater
, meson
, python3
, ninja
@ -53,12 +54,19 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = !stdenv.isi686 && !stdenv.isAarch32; # test_unit_LPC_inv_pred_gain fails
passthru.tests = {
inherit ffmpeg-headless;
passthru = {
updateScript = gitUpdater {
url = "https://gitlab.xiph.org/xiph/opus.git";
rev-prefix = "v";
};
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
moduleNames = [ "opus" ];
tests = {
inherit ffmpeg-headless;
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
moduleNames = [ "opus" ];
};
};
};