mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
33 lines
844 B
Nix
33 lines
844 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, nasm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libvmaf";
|
|
version = "2.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "netflix";
|
|
repo = "vmaf";
|
|
rev = "v${version}";
|
|
sha256 = "12mwl7vxc3xi0qar386mkhkpah9zzgjb74mzc2qqsgz9zzxp16dm";
|
|
};
|
|
|
|
sourceRoot = "source/libvmaf";
|
|
|
|
nativeBuildInputs = [ meson ninja nasm ];
|
|
|
|
mesonFlags = [ "-Denable_avx512=true" ];
|
|
|
|
outputs = [ "out" "dev" ];
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Netflix/vmaf";
|
|
description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
|
|
changelog = "https://github.com/Netflix/vmaf/raw/v${version}/CHANGELOG.md";
|
|
platforms = platforms.unix;
|
|
license = licenses.bsd2Patent;
|
|
maintainers = [ maintainers.cfsmp3 maintainers.marsam ];
|
|
};
|
|
|
|
}
|