vs-overlay/plugins/fmtconv/default.nix
2022-05-27 22:52:59 +02:00

29 lines
734 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, vapoursynth }:
stdenv.mkDerivation rec {
pname = "fmtconv";
version = "29";
src = fetchFromGitHub {
owner = "EleonoreMizo";
repo = pname;
rev = "r${version}";
sha256 = "sha256-V2iY8mBIFtkLkiHXlN/KrlBmzCEpGStHYaOcJSTU9LE=";
};
preAutoreconf = "cd build/unix";
configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ vapoursynth ];
meta = with lib; {
description = "Format conversion tools for VapourSynth";
homepage = "https://github.com/EleonoreMizo/fmtconv";
license = licenses.wtfpl;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}