vs-overlay/plugins/awarpsharp2/default.nix
Simon Bruder 74b6413005 vapoursynthPlugins: stdenv.lib -> lib
stdenv.lib is deprecated and nixpkgs is currently switching to lib.
2021-05-29 16:30:09 -06:00

27 lines
740 B
Nix

{ 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;
};
}