svt-vp9: init at 0.3.1 (#467448)

This commit is contained in:
Aleksana
2025-12-14 11:55:03 +00:00
committed by GitHub
+51
View File
@@ -0,0 +1,51 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
ninja,
yasm,
versionCheckHook,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "svt-vp9";
version = "0.3.1";
src = fetchFromGitHub {
owner = "OpenVisualCloud";
repo = "SVT-VP9";
tag = "v${finalAttrs.version}";
hash = "sha256-M7XpHCqTxGgk/UOlMR0jEXist6vGie6abRYLnVvC6sg=";
};
outputs = [
"bin"
"out"
"dev"
];
nativeBuildInputs = [
cmake
ninja
yasm
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "VP9-compliant encoder targeting performance levels applicable to both VOD and live video applications";
changelog = "https://github.com/OpenVisualCloud/SVT-VP9/releases/tag/v${finalAttrs.version}";
homepage = "https://github.com/OpenVisualCloud/SVT-VP9";
license = lib.licenses.bsd2Patent;
maintainers = with lib.maintainers; [
niklaskorz
];
mainProgram = "SvtVp9EncApp";
platforms = [ "x86_64-linux" ];
};
})