blob: 82c76f7ea372eba9929d3eea25fc97513f509632 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ 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;
postFixup = ''
substituteInPlace "$dev/lib/pkgconfig/libvmaf.pc" \
--replace "includedir=/usr/local/include" "includedir=$dev"
'';
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 ];
};
}
|