rav1e: add version test

This commit is contained in:
seth
2024-06-12 03:28:23 -04:00
parent 7f76088890
commit d12fe4763b
+10 -4
View File
@@ -6,11 +6,13 @@
fetchCrate,
pkg-config,
cargo-c,
libgit2,
nasm,
zlib,
libiconv,
darwin,
libgit2,
libiconv,
nasm,
testers,
zlib,
rav1e,
}:
rustPlatform.buildRustPackage rec {
@@ -55,6 +57,10 @@ rustPlatform.buildRustPackage rec {
${rust.envVars.setEnv} cargo cinstall --release --frozen --prefix=${placeholder "out"} --target ${stdenv.hostPlatform.rust.rustcTarget}
'';
passthru = {
tests.version = testers.testVersion { package = rav1e; };
};
meta = {
description = "Fastest and safest AV1 encoder";
longDescription = ''