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.
This commit is contained in:
Peter Simons 2019-09-03 17:35:30 +02:00
parent ad13ebe029
commit d7bbcdf274

View File

@ -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 ];