vs-overlay/plugins/bilateral/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

29 lines
803 B
Nix

{ lib, stdenv, fetchFromGitHub, which, vapoursynth }:
stdenv.mkDerivation rec {
pname = "vapoursynth-bilateral";
version = "r3";
src = fetchFromGitHub {
owner = "HomeOfVapourSynthEvolution";
repo = "VapourSynth-Bilateral";
rev = 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;
};
}