nixpkgs/pkgs/tools/video/svt-av1/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitLab, cmake, nasm }:
2020-12-04 14:07:42 +00:00
stdenv.mkDerivation rec {
pname = "svt-av1";
2022-08-16 23:03:34 +00:00
version = "1.2.1";
2020-12-04 14:07:42 +00:00
src = fetchFromGitLab {
2020-12-04 14:07:42 +00:00
owner = "AOMediaCodec";
repo = "SVT-AV1";
rev = "v${version}";
2022-08-16 23:03:34 +00:00
sha256 = "sha256-gK2Yabh9AwAX1AecOPGTOthE4ENCA4NIjwWNJNkXxJc=";
2020-12-04 14:07:42 +00:00
};
nativeBuildInputs = [ cmake nasm ];
meta = with lib; {
2020-12-04 14:07:42 +00:00
description = "AV1-compliant encoder/decoder library core";
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;
changelog = "https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/v${version}/CHANGELOG.md";
license = with licenses; [
aom
2022-01-22 21:07:23 +00:00
bsd3
];
2020-12-04 14:07:42 +00:00
platforms = platforms.unix;
broken = stdenv.isAarch64; # undefined reference to `cpuinfo_arm_linux_init'
maintainers = with maintainers; [ Madouura ];
2020-12-04 14:07:42 +00:00
};
}