2020-09-25 04:45:31 +00:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, nasm }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libvmaf";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.5.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "netflix";
|
|
|
|
repo = "vmaf";
|
|
|
|
rev = "v${version}";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0x3l3g0hgrrjh3ygmxr1pd3rd5589s07c7id35nvj76ch5b7gy63";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "source/libvmaf";
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
nativeBuildInputs = [ meson ninja nasm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/Netflix/vmaf";
|
|
|
|
description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
|
|
|
|
platforms = platforms.unix;
|
2020-07-18 16:06:22 +00:00
|
|
|
license = licenses.bsd2Patent;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.cfsmp3 maintainers.marsam ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|