summary refs log tree commit diff
path: root/pkgs/development/libraries/vapoursynth-mvtools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/vapoursynth-mvtools/default.nix')
-rw-r--r--pkgs/development/libraries/vapoursynth-mvtools/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/vapoursynth-mvtools/default.nix b/pkgs/development/libraries/vapoursynth-mvtools/default.nix
new file mode 100644
index 000000000000..0fb34e5953e7
--- /dev/null
+++ b/pkgs/development/libraries/vapoursynth-mvtools/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
+  vapoursynth, yasm, fftwFloat
+}:
+
+stdenv.mkDerivation rec {
+  name = "vapoursynth-mvtools-${version}";
+  version = "16";
+
+  src = fetchFromGitHub {
+    owner = "dubhater";
+    repo  = "vapoursynth-mvtools";
+    rev    = "48959b868c18fa8066502f957734cbd5fb9762a0";
+    sha256 = "15xpqvfzhv0kcf3gyghni4flazi1mmj2iy6zw5834phqr52yg07z";
+  };
+
+  buildInputs = [
+    pkgconfig autoreconfHook
+    yasm vapoursynth fftwFloat
+  ];
+
+  configureFlags = "--libdir=$(out)/lib/vapoursynth";
+
+  meta = with stdenv.lib; {
+    description = "A set of filters for motion estimation and compensation";
+    homepage = https://github.com/dubhater/vapoursynth-mvtools;
+    license  = licenses.gpl2;
+    maintainers = with maintainers; [ rnhmjoj ];
+  };
+}