qutebrowser: repair vandalism

Our qutebrowser package has been vandalized by various commits, such
as c9cc3a2e3e and
ad0bbaf1d2, which made erroneous
assertions such as "since qutebrowser 3.0.0 the derivation is only
building for qt6."

This commit repairs the vandalism.
This commit is contained in:
Adam Joseph 2023-11-02 18:30:35 -07:00 committed by Adam Joseph
parent 231e60ee5c
commit 9180573837
2 changed files with 8 additions and 2 deletions

View File

@ -15,6 +15,7 @@
}:
let
isQt6 = lib.versions.major qtbase.version == "6";
pdfjs = let
version = "3.9.179";
in
@ -50,10 +51,14 @@ python3.pkgs.buildPythonApplication {
];
propagatedBuildInputs = with python3.pkgs; ([
pyyaml pyqt6-webengine jinja2 pygments
pyyaml (if isQt6 then pyqt6-webengine else pyqtwebengine) jinja2 pygments
# scripts and userscripts libs
tldextract beautifulsoup4
readability-lxml pykeepass stem
readability-lxml pykeepass
] ++ lib.optionals ((builtins.tryEval stem.outPath).success) [
# error: stem-1.8.2 not supported for interpreter python3.11
stem
] ++ [
pynacl
# extensive ad blocking
adblock

View File

@ -339,5 +339,6 @@ let
finalScope = baseScope.overrideScope(final: prev: {
qttranslations = bootstrapScope.qttranslations;
qutebrowser = final.callPackage ../../../../applications/networking/browsers/qutebrowser { };
});
in finalScope