mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-12-22 14:01:30 +01:00
vapoursynthPlugins.fillborders: init at 2
This commit is contained in:
parent
ed36a8a002
commit
29e467be9d
|
@ -25,6 +25,7 @@ in
|
|||
f3kdb = super.callPackage ./plugins/f3kdb { };
|
||||
ffms2 = super.ffms;
|
||||
fft3dfilter = super.callPackage ./plugins/fft3dfilter { };
|
||||
fillborders = super.callPackage ./plugins/fillborders { };
|
||||
fluxsmooth = super.callPackage ./plugins/fluxsmooth { };
|
||||
fmtconv = super.callPackage ./plugins/fmtconv { };
|
||||
histogram = super.callPackage ./plugins/histogram { };
|
||||
|
|
30
plugins/fillborders/default.nix
Normal file
30
plugins/fillborders/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vapoursynth-fillborders";
|
||||
version = "2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dubhater";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0c3y24796km382i6bn2ixqc6yfb87ipclvgp20b7h9rhg8sfhf9i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
buildInputs = [ vapoursynth ];
|
||||
|
||||
postInstall = ''
|
||||
# it installs the library in the wrong directory
|
||||
mkdir $out/lib/vapoursynth
|
||||
mv $out/lib/libfillborders.* $out/lib/vapoursynth/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "VapourSynth plugin to fill the borders of a clip";
|
||||
homepage = "https://github.com/dubhater/vapoursynth-fillborders";
|
||||
license = licenses.wtfpl;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue