@@ -1,7 +1,14 @@
1−{ stdenv, mkDerivationWith, fetchFromGitHub
1+{ stdenv, mkDerivationWith, fetchFromGitHub, fetchpatch
22, doxygen, python3Packages, libopenshot
33, wrapGAppsHook, gtk3 }:
44
5+let
6+ fixPermissions = fetchpatch rec {
7+ url = https://github.com/OpenShot/openshot-qt/pull/2973.patch;
8+ sha256 = "037rh0p3k4sdzprlpyb73byjq3qhqk5zd0d4iin6bq602r8bbp0n";
9+ };
10+in
11+
512mkDerivationWith python3Packages.buildPythonApplication rec {
613 pname = "openshot-qt";
714 version = "2.4.4";
@@ -13,6 +20,8 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
1320 sha256 = "0mg63v36h7l8kv2sgf6x8c1n3ygddkqqwlciz7ccxpbm4x1idqba";
1421 };
1522
23+ patches = [ fixPermissions ];
24+
1625 nativeBuildInputs = [ doxygen wrapGAppsHook ];
1726
1827 buildInputs = [ gtk3 ];