mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-12-22 14:01:30 +01:00
vapoursynthPlugins.combmask: init at 1.1.0
This commit is contained in:
parent
7571d01b72
commit
a45c93c1d8
|
@ -14,6 +14,7 @@ in
|
|||
bm3d = super.callPackage ./plugins/bm3d { };
|
||||
cas = super.callPackage ./plugins/cas { };
|
||||
cnr2 = super.callPackage ./plugins/cnr2 { };
|
||||
combmask = super.callPackage ./plugins/combmask { };
|
||||
continuityfixer = super.callPackage ./plugins/continuityfixer { };
|
||||
ctmf = super.callPackage ./plugins/ctmf { };
|
||||
d2vsource = super.callPackage ./plugins/d2vsource { };
|
||||
|
|
44
plugins/combmask/default.nix
Normal file
44
plugins/combmask/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, which, vapoursynth }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "CombMask";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chikuzen";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "04axqp44w7vqrc6lr88j7j1xvj18sbx6fyyqjkqlcvqnn0kg4ksn";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# headers are provided by nixpkgs’ vapoursynth
|
||||
rm vapoursynth/src/VapourSynth.h
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
cd vapoursynth/src
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
bash configure \
|
||||
--extra-cflags="$(pkg-config --cflags vapoursynth)" \
|
||||
--cc="$CC" \
|
||||
--install="$out/lib/vapoursynth"
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config which ];
|
||||
buildInputs = [ vapoursynth ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A comb mask create filter for VapourSynth";
|
||||
homepage = "https://github.com/chikuzen/CombMask";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue