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

29 lines
704 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, meson, ninja }:
2019-10-08 21:50:39 +00:00
stdenv.mkDerivation rec {
pname = "libvmaf";
version = "1.5.1";
2019-10-08 21:50:39 +00:00
src = fetchFromGitHub {
owner = "netflix";
repo = "vmaf";
rev = "v${version}";
sha256 = "10fw53k9k4aq4p2qi5qkfjfnhldw4p5bbmxggf8220gfa95nvyl3";
2019-10-08 21:50:39 +00:00
};
sourceRoot = "source/libvmaf";
nativeBuildInputs = [ meson ninja ];
2019-10-08 21:50:39 +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;
2019-10-08 21:50:39 +00:00
license = licenses.asl20;
2020-02-29 09:21:00 +00:00
maintainers = [ maintainers.cfsmp3 maintainers.marsam ];
2019-10-08 21:50:39 +00:00
};
}