mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
openshot-qt: update dependencies
Because the old pyqt5-with-webkit depends on an old, buggy, full of CVEs WebKit implementation.
This commit is contained in:
parent
1b71b2b8fe
commit
419e261c1b
@ -6,12 +6,12 @@
|
||||
, doxygen
|
||||
, gtk3
|
||||
, libopenshot
|
||||
, python3Packages
|
||||
, python3
|
||||
, qtsvg
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
mkDerivationWith python3.pkgs.buildPythonApplication rec {
|
||||
pname = "openshot-qt";
|
||||
version = "2.6.1";
|
||||
|
||||
@ -19,7 +19,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
owner = "OpenShot";
|
||||
repo = "openshot-qt";
|
||||
rev = "v${version}";
|
||||
sha256 = "0pa8iwl217503bjlqg2zlrw5lxyq5hvxrf5apxrh3843hj1w1myv";
|
||||
hash = "sha256-29fAg4SDoAFzv6q43Dcs2HdaeKZfPEzlGqCcICiPSF0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -31,18 +31,15 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
gtk3
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
httplib2
|
||||
libopenshot
|
||||
pyqt5_with_qtwebkit
|
||||
pyqtwebengine
|
||||
pyzmq
|
||||
requests
|
||||
sip_4
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preConfigure = ''
|
||||
# tries to create caching directories during install
|
||||
export HOME=$(mktemp -d)
|
||||
@ -64,19 +61,26 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
})
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
dontWrapGApps = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/openshot-qt \
|
||||
''
|
||||
# Fix toolbar icons on Darwin
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
--suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/lib/qt-5.12.7/plugins" \
|
||||
''
|
||||
+ ''
|
||||
"''${gappsWrapperArgs[@]}" \
|
||||
"''${qtWrapperArgs[@]}"
|
||||
--suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/lib/qt-5.12.7/plugins" \
|
||||
'' + ''
|
||||
"''${gappsWrapperArgs[@]}" \
|
||||
"''${qtWrapperArgs[@]}"
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
passthru = {
|
||||
inherit libopenshot;
|
||||
inherit (libopenshot) libopenshot-audio;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://openshot.org/";
|
||||
@ -92,9 +96,4 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
inherit libopenshot;
|
||||
inherit (libopenshot) libopenshot-audio;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user