aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-09-03 17:35:30 +0200
committerPeter Simons <simons@cryp.to>2019-09-03 17:49:49 +0200
commitd7bbcdf274eaa3de1f813f391b64626b2f87bc49 (patch)
tree8ec1de512dbc1151354f37a5667d6701e2a1e6c1 /pkgs/applications/video
parentad13ebe029695f51cae4ca318bb39b11e33bb3a3 (diff)
openshot-qt: fix title generator
@ferdnyc has kindly provided a patch for our Nix-specific permission issue https://github.com/OpenShot/openshot-qt/issues/2972. Fixes https://github.com/NixOS/nixpkgs/issues/32898. Fixes https://github.com/NixOS/nixpkgs/issues/48591. Related to https://github.com/NixOS/nixpkgs/issues/55683.
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/openshot-qt/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/video/openshot-qt/default.nix b/pkgs/applications/video/openshot-qt/default.nix
index 0b1d9e95115..1c5359e5f0c 100644
--- a/pkgs/applications/video/openshot-qt/default.nix
+++ b/pkgs/applications/video/openshot-qt/default.nix
@@ -1,7 +1,14 @@
-{ stdenv, mkDerivationWith, fetchFromGitHub
+{ stdenv, mkDerivationWith, fetchFromGitHub, fetchpatch
, doxygen, python3Packages, libopenshot
, wrapGAppsHook, gtk3 }:
+let
+ fixPermissions = fetchpatch rec {
+ url = https://github.com/OpenShot/openshot-qt/pull/2973.patch;
+ sha256 = "037rh0p3k4sdzprlpyb73byjq3qhqk5zd0d4iin6bq602r8bbp0n";
+ };
+in
+
mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "openshot-qt";
version = "2.4.4";
@@ -13,6 +20,8 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
sha256 = "0mg63v36h7l8kv2sgf6x8c1n3ygddkqqwlciz7ccxpbm4x1idqba";
};
+ patches = [ fixPermissions ];
+
nativeBuildInputs = [ doxygen wrapGAppsHook ];
buildInputs = [ gtk3 ];