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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
844 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, nasm }:
2019-10-08 21:50:39 +00:00
stdenv.mkDerivation rec {
pname = "libvmaf";
version = "2.3.0";
2019-10-08 21:50:39 +00:00
src = fetchFromGitHub {
owner = "netflix";
repo = "vmaf";
rev = "v${version}";
sha256 = "12mwl7vxc3xi0qar386mkhkpah9zzgjb74mzc2qqsgz9zzxp16dm";
2019-10-08 21:50:39 +00:00
};
sourceRoot = "source/libvmaf";
nativeBuildInputs = [ meson ninja nasm ];
mesonFlags = [ "-Denable_avx512=true" ];
2019-10-08 21:50:39 +00:00
outputs = [ "out" "dev" ];
doCheck = false;
2019-10-08 21:50:39 +00:00
meta = with lib; {
2019-10-08 21:50:39 +00:00
homepage = "https://github.com/Netflix/vmaf";
description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
changelog = "https://github.com/Netflix/vmaf/raw/v${version}/CHANGELOG.md";
platforms = platforms.unix;
2020-07-03 04:18:37 +00:00
license = licenses.bsd2Patent;
2020-02-29 09:21:00 +00:00
maintainers = [ maintainers.cfsmp3 maintainers.marsam ];
2019-10-08 21:50:39 +00:00
};
}