mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-22 08:52:25 +01:00
vapoursynthPlugins.imwri: init at R1
This commit is contained in:
parent
154b0b8eeb
commit
1ca5c6cef3
|
@ -32,6 +32,7 @@ in
|
||||||
fmtconv = prev.callPackage ./plugins/fmtconv { };
|
fmtconv = prev.callPackage ./plugins/fmtconv { };
|
||||||
histogram = prev.callPackage ./plugins/histogram { };
|
histogram = prev.callPackage ./plugins/histogram { };
|
||||||
hqdn3d = prev.callPackage ./plugins/hqdn3d { };
|
hqdn3d = prev.callPackage ./plugins/hqdn3d { };
|
||||||
|
imwri = prev.callPackage ./plugins/imwri { };
|
||||||
knlmeanscl = prev.callPackage ./plugins/knlmeanscl { };
|
knlmeanscl = prev.callPackage ./plugins/knlmeanscl { };
|
||||||
lsmashsource = prev.callPackage ./plugins/lsmashsource { };
|
lsmashsource = prev.callPackage ./plugins/lsmashsource { };
|
||||||
median = prev.callPackage ./plugins/median { };
|
median = prev.callPackage ./plugins/median { };
|
||||||
|
|
29
plugins/imwri/default.nix
Normal file
29
plugins/imwri/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, imagemagick, libheif, vapoursynth }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "vs-imwri";
|
||||||
|
version = "R1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vapoursynth";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-3nNX7OxAwHPJ6JwaTZJTH13eWktPI/XBmEC/OETCun4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
|
buildInputs = [ imagemagick libheif vapoursynth ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace meson.build \
|
||||||
|
--replace "vapoursynth_dep.get_variable(pkgconfig: 'libdir')" "get_option('libdir')"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Image reader and writer for VapourSynth using the ImageMagick library";
|
||||||
|
homepage = "https://github.com/vapoursynth/vs-imwri";
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue