aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/libraries/libvmaf/default.nix
blob: fb494909c8387878afa1069ec4dc765471e03b5c (plain)
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
{ stdenv, fetchFromGitHub, meson, ninja }:

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

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

  sourceRoot = "source/libvmaf";

  nativeBuildInputs = [ meson ninja ];
  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;
    license = licenses.asl20;
    maintainers = [ maintainers.cfsmp3 maintainers.marsam ];
  };

}