diff --git a/pkgs/development/libraries/dav1d/default.nix b/pkgs/development/libraries/dav1d/default.nix index 8476860f1e79..9c5e5101c8af 100644 --- a/pkgs/development/libraries/dav1d/default.nix +++ b/pkgs/development/libraries/dav1d/default.nix @@ -4,6 +4,13 @@ , withTools ? false # "dav1d" binary , withExamples ? false, SDL2 # "dav1dplay" binary , useVulkan ? false, libplacebo, vulkan-loader, vulkan-headers + +# for passthru.tests +, ffmpeg +, gdal +, handbrake +, libavif +, libheif }: assert useVulkan -> withExamples; @@ -34,6 +41,15 @@ stdenv.mkDerivation rec { doCheck = true; + passthru.tests = { + inherit + ffmpeg + gdal + handbrake + libavif + libheif; + }; + meta = with lib; { description = "A cross-platform AV1 decoder focused on speed and correctness"; longDescription = ''