summary refs log tree commit diff
path: root/pkgs/development/libraries/vapoursynth-mvtools/default.nix
blob: 0fb34e5953e7c81ae9b981a43c386a109f38c150 (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
{ 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 ];
  };
}