diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/vapoursynth-mvtools')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/vapoursynth-mvtools/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/vapoursynth-mvtools/default.nix b/nixpkgs/pkgs/development/libraries/vapoursynth-mvtools/default.nix new file mode 100644 index 000000000000..76ce9a36c713 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/vapoursynth-mvtools/default.nix @@ -0,0 +1,30 @@ +{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, + vapoursynth, nasm, fftwFloat +}: + +stdenv.mkDerivation rec { + pname = "vapoursynth-mvtools"; + version = "23"; + + src = fetchFromGitHub { + owner = "dubhater"; + repo = "vapoursynth-mvtools"; + rev = "v${version}"; + sha256 = "0lngkvxnzn82rz558nvl96rvclrck07ja1pny7wcfixp9b68ppkn"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ + autoreconfHook + nasm vapoursynth fftwFloat + ]; + + configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ]; + + meta = with 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 ]; + }; +} |