2021-01-22 17:10:08 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, vapoursynth }:
|
2019-06-26 01:40:02 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
pname = "vs-continuityfixer";
|
|
|
|
version = "6.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MonoS";
|
|
|
|
repo = "VS-ContinuityFixer";
|
|
|
|
rev = "V6";
|
|
|
|
sha256 = "1hkbmfvs4zkr9177qsai012ba4iqj0vb7gw2ngvgcn0px92vclgw";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ vapoursynth ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
2019-06-26 01:57:16 +02:00
|
|
|
c++ -shared -fPIC -O2 -msse2 -mfpmath=sse -I${vapoursynth}/include/vapoursynth \
|
2019-06-26 01:40:02 +02:00
|
|
|
continuity.cpp -o continuity${ext}
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D continuity${ext} $out/lib/vapoursynth/continuity${ext}
|
|
|
|
'';
|
|
|
|
|
2021-01-22 17:10:08 +01:00
|
|
|
meta = with lib; {
|
2019-06-26 01:40:02 +02:00
|
|
|
description = "Continuity Fixer port for Vapoursynth";
|
|
|
|
homepage = https://github.com/MonoS/VS-ContinuityFixer;
|
|
|
|
license = licenses.unfree; # no license
|
|
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|