mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
parent
5862c38d9d
commit
9988488fc6
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, python, buildPythonApplication, qtmultimedia, pyqt5
|
||||
, jinja2, pygments, pyyaml, pypeg2, gst-plugins-base, gst-plugins-good
|
||||
, gst-plugins-bad, gst-libav, wrapGAppsHook, glib_networking }:
|
||||
, gst-plugins-bad, gst-libav, wrapGAppsHook, glib_networking, makeQtWrapper }:
|
||||
|
||||
let version = "0.7.0"; in
|
||||
|
||||
@ -16,7 +16,8 @@ buildPythonApplication rec {
|
||||
# Needs tox
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ wrapGAppsHook
|
||||
buildInputs = [ wrapGAppsHook makeQtWrapper
|
||||
qtmultimedia
|
||||
gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav
|
||||
glib_networking ];
|
||||
|
||||
@ -24,8 +25,9 @@ buildPythonApplication rec {
|
||||
python pyyaml pyqt5 jinja2 pygments pypeg2
|
||||
];
|
||||
|
||||
makeWrapperArgs = ''
|
||||
--prefix QT_PLUGIN_PATH : "${qtmultimedia}/lib/qt5/plugins"
|
||||
postInstall = ''
|
||||
mv $out/bin/qutebrowser $out/bin/.qutebrowser-noqtpath
|
||||
makeQtWrapper $out/bin/.qutebrowser-noqtpath $out/bin/qutebrowser
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user