From dbd3a5ff20d446c134740a9e8d98bc1a0cf7f9b4 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 10 Jan 2016 11:07:15 +0100 Subject: [PATCH] qutebrowser: use correct plugin versions Since PyQt uses Qt 5.5, we need to use the Qt plugins from 5.5 as well, and gstreamer plugins from 1.0. --- .../networking/browsers/qutebrowser/default.nix | 10 ++++++---- pkgs/top-level/all-packages.nix | 3 ++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix index c1c7a1297ce2..957ba9885788 100644 --- a/pkgs/applications/networking/browsers/qutebrowser/default.nix +++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchgit, python, buildPythonPackage, qtmultimedia, pyqt5 -, jinja2, pygments, pyyaml, pypeg2, gst_plugins_base, gst_plugins_good -, gst_ffmpeg }: +, jinja2, pygments, pyyaml, pypeg2, gst-plugins-base, gst-plugins-good +, gst-plugins-bad, gst-libav, wrapGAppsHook, glib_networking }: let version = "0.4.1"; in @@ -17,13 +17,15 @@ buildPythonPackage { # Needs tox doCheck = false; + buildInputs = [ wrapGAppsHook + gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav + glib_networking ]; + propagatedBuildInputs = [ python pyyaml pyqt5 jinja2 pygments pypeg2 ]; makeWrapperArgs = '' - --prefix GST_PLUGIN_PATH : "${stdenv.lib.makeSearchPath "lib/gstreamer-0.10" - [ gst_plugins_base gst_plugins_good gst_ffmpeg ]}" --prefix QT_PLUGIN_PATH : "${qtmultimedia}/lib/qt5/plugins" ''; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85780ec218b1..009bb39761e4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12974,8 +12974,9 @@ let gst_plugins_bad = null; }; - qutebrowser = qt5.callPackage ../applications/networking/browsers/qutebrowser { + qutebrowser = qt55.callPackage ../applications/networking/browsers/qutebrowser { inherit (python34Packages) buildPythonPackage python pyqt5 jinja2 pygments pyyaml pypeg2; + inherit (gst_all_1) gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav; }; rabbitvcs = callPackage ../applications/version-management/rabbitvcs {};