svt-av1: add ffmpeg to passthru.tests

This commit is contained in:
Robert Scott 2024-03-16 17:43:21 +00:00
parent 3bea2b1f5e
commit 557e24c4d3

View File

@ -4,6 +4,9 @@
, gitUpdater
, cmake
, nasm
# for passthru.tests
, ffmpeg
}:
stdenv.mkDerivation (finalAttrs: {
@ -26,8 +29,13 @@ stdenv.mkDerivation (finalAttrs: {
"-DSVT_AV1_LTO=ON"
];
passthru.updateScript = gitUpdater {
rev-prefix = "v";
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
};
tests = {
ffmpeg = ffmpeg.override { withSvtav1 = true; };
};
};
meta = with lib; {