2020-02-29 09:20:00 +00:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja }:
|
2019-10-08 22:50:39 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libvmaf";
|
2020-07-02 14:59:52 +01:00
|
|
|
version = "1.5.2";
|
2019-10-08 22:50:39 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "netflix";
|
|
|
|
repo = "vmaf";
|
|
|
|
rev = "v${version}";
|
2020-07-02 14:59:52 +01:00
|
|
|
sha256 = "18w0z3w90fdbzsqaa4diwvq0xmvg0aiw4hi3aaa4pq0zgnb8g3mk";
|
2019-10-08 22:50:39 +01:00
|
|
|
};
|
|
|
|
|
2020-02-29 09:20:00 +00:00
|
|
|
sourceRoot = "source/libvmaf";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
2019-10-08 22:50:39 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/Netflix/vmaf";
|
2019-10-22 18:33:30 +01:00
|
|
|
description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
|
2020-02-29 09:20:00 +00:00
|
|
|
platforms = platforms.unix;
|
2020-07-03 05:18:37 +01:00
|
|
|
license = licenses.bsd2Patent;
|
2020-02-29 09:21:00 +00:00
|
|
|
maintainers = [ maintainers.cfsmp3 maintainers.marsam ];
|
2019-10-08 22:50:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|