2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook,
|
2018-09-03 06:09:20 -07:00
|
|
|
vapoursynth, nasm, fftwFloat
|
2016-08-26 20:38:57 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "vapoursynth-mvtools";
|
2020-05-19 20:00:59 -07:00
|
|
|
version = "23";
|
2016-08-26 20:38:57 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-09-03 06:09:20 -07:00
|
|
|
owner = "dubhater";
|
|
|
|
repo = "vapoursynth-mvtools";
|
2017-09-11 19:24:22 -07:00
|
|
|
rev = "v${version}";
|
2020-05-19 20:00:59 -07:00
|
|
|
sha256 = "0lngkvxnzn82rz558nvl96rvclrck07ja1pny7wcfixp9b68ppkn";
|
2016-08-26 20:38:57 -07:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-08-26 20:38:57 -07:00
|
|
|
buildInputs = [
|
2017-09-14 12:24:37 -07:00
|
|
|
autoreconfHook
|
2018-09-03 06:09:20 -07:00
|
|
|
nasm vapoursynth fftwFloat
|
2016-08-26 20:38:57 -07:00
|
|
|
];
|
|
|
|
|
2018-07-25 14:44:21 -07:00
|
|
|
configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ];
|
2016-08-26 20:38:57 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2016-08-26 20:38:57 -07:00
|
|
|
description = "A set of filters for motion estimation and compensation";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/dubhater/vapoursynth-mvtools";
|
2016-08-26 20:38:57 -07:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|