15 pname = "openshot-qt";
17 src = fetchFromGitHub {
21 hash = "sha256-kEz1APBitWLlnIbyloYMsqNrwC9RqU04kyyWzm5klYc=";
24 mkDerivationWith python3.pkgs.buildPythonApplication {
25 inherit pname version src;
27 outputs = [ "out" ]; # "lib" can't be split
38 propagatedBuildInputs = with python3.pkgs; [
50 # the builder tries to create caching directories during install
51 export HOME=$(mktemp -d)
57 dontWrapQtApps = true;
60 wrapProgram $out/bin/openshot-qt \
62 # Fix toolbar icons on Darwin
63 + lib.optionalString stdenv.isDarwin ''
64 --suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/${qtbase.qtPluginPrefix}" \
66 "''${gappsWrapperArgs[@]}" \
67 "''${qtWrapperArgs[@]}"
72 inherit (libopenshot) libopenshot-audio;
76 homepage = "http://openshot.org/";
77 description = "Free, open-source video editor";
79 OpenShot Video Editor is a free, open-source video editor for Linux.
80 OpenShot can take your videos, photos, and music files and help you create
81 the film you have always dreamed of. Easily add sub-titles, transitions,
82 and effects, and then export your film to DVD, YouTube, Vimeo, Xbox 360,
83 and many other common formats.
85 license = with lib.licenses; [ gpl3Plus ];
86 mainProgram = "openshot-qt";
87 maintainers = with lib.maintainers; [ AndersonTorres ];
88 platforms = lib.platforms.unix;