mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-15 05:32:26 +01:00
41 lines
785 B
Nix
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;
|
||
|
};
|
||
|
}
|