From d7bbcdf274eaa3de1f813f391b64626b2f87bc49 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 3 Sep 2019 17:35:30 +0200 Subject: 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. --- pkgs/applications/video/openshot-qt/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/video/openshot-qt') diff --git a/pkgs/applications/video/openshot-qt/default.nix b/pkgs/applications/video/openshot-qt/default.nix index 0b1d9e951150..1c5359e5f0c6 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 ]; -- cgit v1.2.3