vs-overlay/plugins/awarpsharp2/default.nix

27 lines
742 B
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
stdenv.mkDerivation rec {
pname = "vapoursynth-awarpsharp2";
version = "4";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "v${version}";
sha256 = "166z0n565kk11mn63nzzzagcy0vbbm73npmvpjzzy9fn7y1g87n0";
};
mesonFlags = [ "--libdir=${placeholder "out"}/lib/vapoursynth" ];
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ vapoursynth ];
meta = with lib; {
description = "VapourSynth edge sharpener plugin";
homepage = "https://github.com/dubhater/vapoursynth-awarpsharp2";
license = licenses.isc;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}