vs-overlay/plugins/decross/default.nix
2022-12-09 20:57:17 -07:00

41 lines
785 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, cmake
, pkg-config
, vapoursynth
}:
stdenv.mkDerivation rec {
pname = "vapoursynth-decross";
version = "1";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "v${version}";
sha256 = "sha256-BrtxBS1/q1rldVh8P9eHCeBoo/EueZ3TOrhaotV8l6g=";
};
nativeBuildInputs = [
meson
ninja
cmake
pkg-config
];
buildInputs = [ vapoursynth ];
mesonFlags = [ "--libdir=${placeholder "out"}/lib/vapoursynth" ];
meta = with lib; {
description = "A rainbow reduction filter plugin for VapourSynth";
homepage = "https://github.com/dubhater/vapoursynth-decross";
license = licenses.gpl2;
maintainers = with maintainers; [ aidalgol ];
platforms = platforms.all;
};
}