vs-overlay/plugins/autocrop/default.nix
Tadeo Kondrak e94a197efe
initial commit
vapoursynthPlugins.addgrain: init at r7
vapoursynthPlugins.autocrop: init at 0.1
vapoursynthPlugins.beziercurve: init at r2
vapoursynthPlugins.bifrost: init at 2.2
vapoursynthPlugins.bilateral: init at r3
vapoursynthPlugins.bm3d: init at r8
vapoursynthPlugins.continuityfixer: init at 6.1
vapoursynthPlugins.descale: init at r2
vapoursynthPlugins.eedi2: init at r7.1
vapoursynthPlugins.eedi3m: init at r4
vapoursynthPlugins.f3kdb: init at 2.0.0-1
vapoursynthPlugins.ffms2: init as alias
vapoursynthPlugins.fmtconv: init at r20
vapoursynthPlugins.knlmeanscl: init at 1.1.1
vapoursynthPlugins.lsmashsource: init at unstable-2017-08-12
vapoursynthPlugins.nnedi3: init at 11
vapoursynthPlugins.retinex: init at r4
vapoursynthPlugins.sangnom: init at r41
vapoursynthPlugins.tcanny: init at r12
vapoursynthPlugins.tnlmeans: init at unstable-2015-02-25
vapoursynthPlugins.wwxd: init at 1.0
2019-06-25 17:40:02 -06:00

35 lines
943 B
Nix

{ stdenv, fetchFromGitHub, vapoursynth }:
let
ext = stdenv.targetPlatform.extensions.sharedLibrary;
in stdenv.mkDerivation rec {
pname = "vapoursynth-autocrop";
version = "0.1";
src = fetchFromGitHub {
owner = "Irrational-Encoding-Wizardry";
repo = pname;
rev = version;
sha256 = "15ph5w78d0p56n6x5ys24a1n0xs1bd1fbc783349px1l8606h1ac";
};
buildInputs = [ vapoursynth ];
buildPhase = ''
c++ -std=c++11 -shared -fPIC -O2 -I${vapoursynth.dev}/include/vapoursynth \
autocrop.cpp -o libautocrop${ext}
'';
installPhase = ''
install -D libautocrop${ext} $out/lib/vapoursynth/libautocrop${ext}
'';
meta = with stdenv.lib; {
description = "Autocrop for VapourSynth";
homepage = https://github.com/Irrational-Encoding-Wizardry/vapoursynth-autocrop;
license = licenses.unfree; # no license
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}