2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, nasm }:
|
2020-12-04 14:07:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "svt-av1";
|
|
|
|
version = "0.8.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AOMediaCodec";
|
|
|
|
repo = "SVT-AV1";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1wzamg89azi1f93wxvdy7silsgklckc754ca066k33drvyacicyw";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake nasm ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-12-04 14:07:42 +00:00
|
|
|
description = "AV1-compliant encoder/decoder library core";
|
|
|
|
homepage = "https://github.com/AOMediaCodec/SVT-AV1";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
broken = stdenv.isAarch64; # undefined reference to `cpuinfo_arm_linux_init'
|
|
|
|
maintainers = with maintainers; [ chiiruno ];
|
|
|
|
};
|
|
|
|
}
|