2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
|
|
|
|
vapoursynth, nasm, fftwFloat
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vapoursynth-mvtools";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "22";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dubhater";
|
|
|
|
repo = "vapoursynth-mvtools";
|
|
|
|
rev = "v${version}";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "11al56liaahkr3819iynq83k8n42wvijfv2ja5fsjdl6j4zfzpbr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
nasm 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 ];
|
|
|
|
};
|
|
|
|
}
|