mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-05 00:32:27 +01:00
vapoursynthPlugins.removegrain: init at unstable-2021-09-27
This commit is contained in:
parent
1ca5c6cef3
commit
8ad7342d9c
|
@ -43,6 +43,7 @@ in
|
|||
placebo = prev.callPackage ./plugins/placebo { };
|
||||
readmpls = prev.callPackage ./plugins/readmpls { };
|
||||
remap = prev.callPackage ./plugins/remap { };
|
||||
removegrain = prev.callPackage ./plugins/removegrain { };
|
||||
retinex = prev.callPackage ./plugins/retinex { };
|
||||
sangnom = prev.callPackage ./plugins/sangnom { };
|
||||
scxvid = prev.callPackage ./plugins/scxvid { };
|
||||
|
|
29
plugins/removegrain/default.nix
Normal file
29
plugins/removegrain/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vs-removegrain";
|
||||
version = "unstable-2021-09-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vapoursynth";
|
||||
repo = pname;
|
||||
rev = "ea3d1566b7d82e1efb2f30612d6951dc61ebba65";
|
||||
sha256 = "sha256-yg6VSZzkxFLzW/bTNMx0EollzzJtMKxRuwwXBH326aI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
buildInputs = [ vapoursynth ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace meson.build \
|
||||
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "VapourSynth port of RemoveGrain and Repair plugins from Avisynth";
|
||||
homepage = "https://github.com/vapoursynth/vs-removegrain";
|
||||
license = with licenses; [ mit unfree wtfpl ]; # only some files have license header
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue