2021-07-03 03:11:41 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, cmake, nasm }:
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "svt-av1";
|
2022-01-25 03:21:06 +00:00
|
|
|
version = "0.9.0";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
2021-07-03 03:11:41 +00:00
|
|
|
src = fetchFromGitLab {
|
2021-01-09 10:05:03 +00:00
|
|
|
owner = "AOMediaCodec";
|
|
|
|
repo = "SVT-AV1";
|
|
|
|
rev = "v${version}";
|
2022-01-25 03:21:06 +00:00
|
|
|
sha256 = "sha256-kmFyJ5b0EiesWUN71rbULF2cQt2pICF0P/MeZ+h7W9U=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake nasm ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-09 10:05:03 +00:00
|
|
|
description = "AV1-compliant encoder/decoder library core";
|
2021-01-17 00:15:33 +00:00
|
|
|
longDescription = ''
|
|
|
|
The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is an
|
|
|
|
AV1-compliant encoder/decoder library core. The SVT-AV1 encoder
|
|
|
|
development is a work-in-progress targeting performance levels applicable
|
|
|
|
to both VOD and Live encoding / transcoding video applications. The
|
|
|
|
SVT-AV1 decoder implementation is targeting future codec research
|
|
|
|
activities.
|
|
|
|
'';
|
|
|
|
inherit (src.meta) homepage;
|
2021-07-03 03:11:41 +00:00
|
|
|
changelog = "https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/v${version}/CHANGELOG.md";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = with licenses; [
|
2022-01-25 03:21:06 +00:00
|
|
|
aom
|
2021-01-17 00:15:33 +00:00
|
|
|
bsd2
|
2022-01-25 03:21:06 +00:00
|
|
|
bsd3
|
2021-01-17 00:15:33 +00:00
|
|
|
];
|
2021-01-09 10:05:03 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
broken = stdenv.isAarch64; # undefined reference to `cpuinfo_arm_linux_init'
|
|
|
|
maintainers = with maintainers; [ chiiruno ];
|
|
|
|
};
|
|
|
|
}
|