nixpkgs/pkgs/development/libraries/libvmaf/default.nix

29 lines
720 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, meson, ninja, nasm }:
2019-10-08 22:50:39 +01:00
stdenv.mkDerivation rec {
pname = "libvmaf";
version = "1.5.3";
2019-10-08 22:50:39 +01:00
src = fetchFromGitHub {
owner = "netflix";
repo = "vmaf";
rev = "v${version}";
sha256 = "0x3l3g0hgrrjh3ygmxr1pd3rd5589s07c7id35nvj76ch5b7gy63";
2019-10-08 22:50:39 +01:00
};
sourceRoot = "source/libvmaf";
nativeBuildInputs = [ meson ninja nasm ];
2019-10-08 22:50:39 +01: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-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
};
}