vs-overlay/plugins/fmtconv/default.nix

29 lines
730 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, vapoursynth }:
stdenv.mkDerivation rec {
pname = "fmtconv";
2021-01-22 15:47:03 +01:00
version = "r22";
src = fetchFromGitHub {
owner = "EleonoreMizo";
repo = pname;
rev = version;
2021-01-22 15:47:03 +01:00
sha256 = "1nvanskvh8qv45h7islwgnyrvdkcn7h9jks5fskg4c00aj6bxrrn";
};
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;
};
}