vs-overlay/plugins/bilateral/default.nix
2022-05-27 22:52:59 +02:00

29 lines
810 B
Nix

{ lib, stdenv, fetchFromGitHub, which, vapoursynth }:
stdenv.mkDerivation rec {
pname = "vapoursynth-bilateral";
version = "3";
src = fetchFromGitHub {
owner = "HomeOfVapourSynthEvolution";
repo = "VapourSynth-Bilateral";
rev = "r${version}";
sha256 = "05rhbg84z74rk3jcxa6abgqcqnjzgmjw03wljxa55jc358h9a6f0";
};
preConfigure = "chmod +x configure";
dontAddPrefix = true;
configureFlags = [ "--install=$(out)/lib/vapoursynth" ];
nativeBuildInputs = [ which ];
buildInputs = [ vapoursynth ];
meta = with lib; {
description = "Bilateral filter for VapourSynth";
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Bilateral";
license = licenses.gpl3;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}