mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
rav1e: add version test
This commit is contained in:
parent
7f76088890
commit
d12fe4763b
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user