nixpkgs/pkgs/tools/video/svt-av1/default.nix
amesgen 63f82810d1
svt-av1: remove BSD-2 from licenses
Quoting from the README:

> Up to v0.8.7, SVT-AV1 is licensed under the BSD-2-clause license and
> the Alliance for Open Media Patent License 1.0. See LICENSE and
> PATENTS for details. Starting from v0.9, SVT-AV1 is licensed under
> the BSD-3-clause clear license and the Alliance for Open Media
> Patent License 1.0. See LICENSE and PATENTS for details.
2022-05-10 19:52:34 +02:00

37 lines
1.2 KiB
Nix

{ lib, stdenv, fetchFromGitLab, cmake, nasm }:
stdenv.mkDerivation rec {
pname = "svt-av1";
version = "1.0.0";
src = fetchFromGitLab {
owner = "AOMediaCodec";
repo = "SVT-AV1";
rev = "v${version}";
sha256 = "sha256-M5ErWB/klVijsF+GysR0b3m180h+O+10weKr1pTh8ow=";
};
nativeBuildInputs = [ cmake nasm ];
meta = with lib; {
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
bsd3
];
platforms = platforms.unix;
broken = stdenv.isAarch64; # undefined reference to `cpuinfo_arm_linux_init'
maintainers = with maintainers; [ Madouura ];
};
}