2021-06-28 18:53:53 +02:00
|
|
|
{ lib, stdenv, fetchFromGitLab, cmake, nasm }:
|
2020-12-04 15:07:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "svt-av1";
|
2021-06-28 18:53:53 +02:00
|
|
|
version = "0.8.7";
|
2020-12-04 15:07:42 +01:00
|
|
|
|
2021-06-28 18:53:53 +02:00
|
|
|
src = fetchFromGitLab {
|
2020-12-04 15:07:42 +01:00
|
|
|
owner = "AOMediaCodec";
|
|
|
|
repo = "SVT-AV1";
|
|
|
|
rev = "v${version}";
|
2021-06-28 18:53:53 +02:00
|
|
|
sha256 = "1xlxb6kn6hqz9dxz0nd905m4i2mwjwq1330rbabwzmg4b66cdslg";
|
2020-12-04 15:07:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake nasm ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-12-04 15:07:42 +01:00
|
|
|
description = "AV1-compliant encoder/decoder library core";
|
2020-09-09 19:10:44 +02: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-06-28 18:53:53 +02:00
|
|
|
changelog = "https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/v${version}/CHANGELOG.md";
|
2020-09-09 19:10:44 +02:00
|
|
|
license = with licenses; [
|
|
|
|
bsd2
|
|
|
|
{
|
|
|
|
fullName = "Alliance for Open Media Patent License 1.0";
|
|
|
|
url = "https://aomedia.org/license/patent-license/";
|
|
|
|
}
|
|
|
|
];
|
2020-12-04 15:07:42 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
broken = stdenv.isAarch64; # undefined reference to `cpuinfo_arm_linux_init'
|
|
|
|
maintainers = with maintainers; [ chiiruno ];
|
|
|
|
};
|
|
|
|
}
|