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,7 +54,13 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = !stdenv.isi686 && !stdenv.isAarch32; # test_unit_LPC_inv_pred_gain fails
passthru.tests = {
passthru = {
updateScript = gitUpdater {
url = "https://gitlab.xiph.org/xiph/opus.git";
rev-prefix = "v";
};
tests = {
inherit ffmpeg-headless;
pkg-config = testers.hasPkgConfigModules {
@ -61,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
moduleNames = [ "opus" ];
};
};
};
meta = with lib; {
description = "Open, royalty-free, highly versatile audio codec";