2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libvmaf";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "1.5.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "netflix";
|
|
|
|
repo = "vmaf";
|
|
|
|
rev = "v${version}";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "18w0z3w90fdbzsqaa4diwvq0xmvg0aiw4hi3aaa4pq0zgnb8g3mk";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "source/libvmaf";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|