21 stdenv.mkDerivation (finalAttrs: {
22 pname = "libopenshot";
25 src = fetchFromGitHub {
28 rev = "v${finalAttrs.version}";
29 hash = "sha256-9X2UIRDD+1kNLbV8AnnPabdO2M0OfTDxQ7xyZtsE10k=";
32 patches = lib.optionals stdenv.hostPlatform.isDarwin [
33 # Darwin requires both Magick++ and MagickCore for a successful linkage
34 ./0001-link-magickcore.diff
54 ] ++ lib.optionals stdenv.hostPlatform.isLinux [
56 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
62 dontWrapQtApps = true;
67 (lib.cmakeBool "ENABLE_RUBY" false)
68 (lib.cmakeOptionType "filepath" "PYTHON_MODULE_PATH" python3.sitePackages)
72 inherit libopenshot-audio;
76 homepage = "http://openshot.org/";
77 description = "Free, open-source video editor library";
79 OpenShot Library (libopenshot) is an open-source project dedicated to
80 delivering high quality video editing, animation, and playback solutions
81 to the world. API currently supports C++, Python, and Ruby.
83 license = with lib.licenses; [ gpl3Plus ];
84 maintainers = with lib.maintainers; [ AndersonTorres ];
85 platforms = lib.platforms.unix;