3
0
Fork 0
forked from mirrors/nixpkgs

openshot: refactor

Many thanks to @jonringer!
This commit is contained in:
AndersonTorres 2021-11-06 13:46:08 -03:00
parent cdddc286a2
commit 4d5d34495f

View file

@ -1,7 +1,14 @@
{ lib, stdenv, mkDerivationWith, fetchFromGitHub, fetchpatch
, doxygen, python3Packages, libopenshot
, wrapGAppsHook, gtk3
, qtsvg }:
{ lib
, stdenv
, mkDerivationWith
, fetchFromGitHub
, doxygen
, gtk3
, libopenshot
, python3Packages
, qtsvg
, wrapGAppsHook
}:
mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "openshot-qt";
@ -14,11 +21,23 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
sha256 = "0pa8iwl217503bjlqg2zlrw5lxyq5hvxrf5apxrh3843hj1w1myv";
};
nativeBuildInputs = [ doxygen wrapGAppsHook ];
nativeBuildInputs = [
doxygen
wrapGAppsHook
];
buildInputs = [ gtk3 ];
buildInputs = [
gtk3
];
propagatedBuildInputs = with python3Packages; [ libopenshot pyqt5_with_qtwebkit requests sip_4 httplib2 pyzmq ];
propagatedBuildInputs = with python3Packages; [
httplib2
libopenshot
pyqt5_with_qtwebkit
pyzmq
requests
sip_4
];
dontWrapGApps = true;
dontWrapQtApps = true;
@ -56,4 +75,9 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; unix;
};
passthru = {
inherit libopenshot;
inherit (libopenshot) libopenshot-audio;
};
}