summary refs log blame commit diff
path: root/pkgs/development/libraries/libvmaf/default.nix
blob: e727c4b3fe50964a9a16b90b04f721eeb10a449f (plain) (tree)



























                                                                                             
{ stdenv, fetchFromGitHub, autoconf, automake, intltool, libtool, pkgconfig }:

stdenv.mkDerivation rec {
  pname = "libvmaf";
  version = "1.3.15";

  src = fetchFromGitHub {
    owner = "netflix";
    repo = "vmaf";
    rev = "v${version}";
    sha256="10kgcdf06hzhbl5r7zsllq88bxbyn282hfqx5i3hkp66fpq896d2";
  };

  nativeBuildInputs = [ autoconf automake intltool libtool pkgconfig ];
  outputs = [ "out" "dev" ];
  doCheck = true;

  makeFlags = [ "INSTALL_PREFIX=${placeholder "out"}" ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/Netflix/vmaf";
    description = "Perceptual video quality assessment based on multi-method fusion (VMAF).";
    platforms = platforms.linux;
    license = licenses.asl20;
    maintainers = [ maintainers.cfsmp3 ];
  };

}