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
1 changed files with 18 additions and 19 deletions
|
@ -6,12 +6,12 @@
|
||||||
, doxygen
|
, doxygen
|
||||||
, gtk3
|
, gtk3
|
||||||
, libopenshot
|
, libopenshot
|
||||||
, python3Packages
|
, python3
|
||||||
, qtsvg
|
, qtsvg
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivationWith python3Packages.buildPythonApplication rec {
|
mkDerivationWith python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "openshot-qt";
|
pname = "openshot-qt";
|
||||||
version = "2.6.1";
|
version = "2.6.1";
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||||
owner = "OpenShot";
|
owner = "OpenShot";
|
||||||
repo = "openshot-qt";
|
repo = "openshot-qt";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0pa8iwl217503bjlqg2zlrw5lxyq5hvxrf5apxrh3843hj1w1myv";
|
hash = "sha256-29fAg4SDoAFzv6q43Dcs2HdaeKZfPEzlGqCcICiPSF0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -31,18 +31,15 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||||
gtk3
|
gtk3
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
httplib2
|
httplib2
|
||||||
libopenshot
|
libopenshot
|
||||||
pyqt5_with_qtwebkit
|
pyqtwebengine
|
||||||
pyzmq
|
pyzmq
|
||||||
requests
|
requests
|
||||||
sip_4
|
sip_4
|
||||||
];
|
];
|
||||||
|
|
||||||
dontWrapGApps = true;
|
|
||||||
dontWrapQtApps = true;
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# tries to create caching directories during install
|
# tries to create caching directories during install
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
|
@ -64,19 +61,26 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
dontWrapGApps = true;
|
||||||
|
dontWrapQtApps = true;
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/openshot-qt \
|
wrapProgram $out/bin/openshot-qt \
|
||||||
''
|
''
|
||||||
# Fix toolbar icons on Darwin
|
# Fix toolbar icons on Darwin
|
||||||
+ lib.optionalString stdenv.isDarwin ''
|
+ lib.optionalString stdenv.isDarwin ''
|
||||||
--suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/lib/qt-5.12.7/plugins" \
|
--suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/lib/qt-5.12.7/plugins" \
|
||||||
''
|
'' + ''
|
||||||
+ ''
|
"''${gappsWrapperArgs[@]}" \
|
||||||
"''${gappsWrapperArgs[@]}" \
|
"''${qtWrapperArgs[@]}"
|
||||||
"''${qtWrapperArgs[@]}"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
passthru = {
|
||||||
|
inherit libopenshot;
|
||||||
|
inherit (libopenshot) libopenshot-audio;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://openshot.org/";
|
homepage = "http://openshot.org/";
|
||||||
|
@ -92,9 +96,4 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = with platforms; unix;
|
platforms = with platforms; unix;
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
|
||||||
inherit libopenshot;
|
|
||||||
inherit (libopenshot) libopenshot-audio;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue