vs-overlay/plugins/scxvid/default.nix

27 lines
769 B
Nix
Raw Normal View History

2021-05-16 10:15:04 +02:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth, xvidcore }:
stdenv.mkDerivation rec {
pname = "vapoursynth-scxvid";
version = "1";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "v${version}";
sha256 = "13afl3bsg4fx3w5myrbsd62sf76s9qhsggfn2fjai9vfq61lnb0f";
};
configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ];
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ vapoursynth xvidcore ];
meta = with lib; {
description = "Scene change detection plugin for VapourSynth using xvid";
homepage = "https://github.com/dubhater/vapoursynth-scxvid";
license = licenses.gpl2Only;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}