summary refs log tree commit diff
path: root/pkgs/development/libraries/libvmaf
diff options
context:
space:
mode:
authorCarlos Fernandez Sanz <carlos@standard.ai>2019-10-08 14:50:39 -0700
committerCarlos Fernandez Sanz <carlos@standard.ai>2019-10-08 14:50:39 -0700
commit1c2400c7d849f264e960a83a3c6a61521782c75e (patch)
treed567ba54e18f97950adba6749c046bddf29fe9b3 /pkgs/development/libraries/libvmaf
parent2bab43bb29ecc96666d7d1136f527f2790c65c52 (diff)
downloadnixpkgs-1c2400c7d849f264e960a83a3c6a61521782c75e.tar
nixpkgs-1c2400c7d849f264e960a83a3c6a61521782c75e.tar.gz
nixpkgs-1c2400c7d849f264e960a83a3c6a61521782c75e.tar.bz2
nixpkgs-1c2400c7d849f264e960a83a3c6a61521782c75e.tar.lz
nixpkgs-1c2400c7d849f264e960a83a3c6a61521782c75e.tar.xz
nixpkgs-1c2400c7d849f264e960a83a3c6a61521782c75e.tar.zst
nixpkgs-1c2400c7d849f264e960a83a3c6a61521782c75e.zip
libvmaf: init at 1.3.15
Diffstat (limited to 'pkgs/development/libraries/libvmaf')
-rw-r--r--pkgs/development/libraries/libvmaf/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libvmaf/default.nix b/pkgs/development/libraries/libvmaf/default.nix
new file mode 100644
index 00000000000..e727c4b3fe5
--- /dev/null
+++ b/pkgs/development/libraries/libvmaf/default.nix
@@ -0,0 +1,28 @@
+{ 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 ];
+  };
+
+}