1 { lib, fetchFromGitHub, stdenv
2 , ffmpeg, frei0r, sox, gtk3, python3, ladspaPlugins
3 , gobject-introspection, makeWrapper, wrapGAppsHook3
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "sha256-WXB071lndw4/APTgwxNVjmYBvzMXZdLn1OaWqBXjW2Q=";
18 ffmpeg frei0r sox gtk3 ladspaPlugins
19 (python3.withPackages (ps: with ps; [ mlt pygobject3 dbus-python numpy pillow libusb1 ]))
22 nativeBuildInputs = [ gobject-introspection makeWrapper wrapGAppsHook3 ];
28 cp -a ${src}/flowblade-trunk $out/flowblade
30 makeWrapper $out/flowblade/flowblade $out/bin/flowblade \
31 --set FREI0R_PATH ${frei0r}/lib/frei0r-1 \
32 --set LADSPA_PATH ${ladspaPlugins}/lib/ladspa \
33 --prefix PATH : "${lib.makeBinPath [ ffmpeg ]}" \
34 ''${gappsWrapperArgs[@]}
40 description = "Multitrack Non-Linear Video Editor";
41 homepage = "https://jliljebl.github.io/flowblade/";
42 license = with licenses; [ gpl3Plus ];
43 platforms = platforms.linux;
44 maintainers = with maintainers; [ polygon ];
45 mainProgram = "flowblade";