diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-11-06 13:46:08 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-11-06 13:51:35 -0300 |
commit | 4d5d34495fd08345f2064c875224b48a684f89e9 (patch) | |
tree | d65ba52c1590ce10f49288d01e6e015c1af65f60 | |
parent | cdddc286a269502fef895c4f455b27e33765a738 (diff) | |
download | nixpkgs-4d5d34495fd08345f2064c875224b48a684f89e9.tar nixpkgs-4d5d34495fd08345f2064c875224b48a684f89e9.tar.gz nixpkgs-4d5d34495fd08345f2064c875224b48a684f89e9.tar.bz2 nixpkgs-4d5d34495fd08345f2064c875224b48a684f89e9.tar.lz nixpkgs-4d5d34495fd08345f2064c875224b48a684f89e9.tar.xz nixpkgs-4d5d34495fd08345f2064c875224b48a684f89e9.tar.zst nixpkgs-4d5d34495fd08345f2064c875224b48a684f89e9.zip |
openshot: refactor
Many thanks to @jonringer!
-rw-r--r-- | pkgs/applications/video/openshot-qt/default.nix | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/pkgs/applications/video/openshot-qt/default.nix b/pkgs/applications/video/openshot-qt/default.nix index ac396f4be80..bb6bfa637ce 100644 --- a/pkgs/applications/video/openshot-qt/default.nix +++ b/pkgs/applications/video/openshot-qt/default.nix @@ -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; + }; } |