qutebrowser: 3.6.1 -> 3.6.2 (#465859)

This commit is contained in:
Aleksana
2025-11-30 01:13:22 +00:00
committed by GitHub
+10 -4
View File
@@ -15,6 +15,7 @@
pipewireSupport ? stdenv.hostPlatform.isLinux,
pipewire,
qt6Packages,
wayland,
enableWideVine ? false,
widevine-cdm,
# can cause issues on some graphics chips
@@ -26,15 +27,15 @@ let
isQt6 = lib.versions.major qt6Packages.qtbase.version == "6";
pdfjs =
let
version = "5.4.296";
version = "5.4.394";
in
fetchzip {
url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/pdfjs-${version}-dist.zip";
hash = "sha256-UQ7sYOh7s95mfzH2ZbfDyEvUZiXr7MI3u0WY8WNHWv4=";
hash = "sha256-KMpSwF5MmoWdNoIUd4ZOwbJZZmjkid8wUoFKw7XjQFA=";
stripRoot = false;
};
version = "3.6.1";
version = "3.6.2";
in
python3.pkgs.buildPythonApplication {
@@ -44,7 +45,7 @@ python3.pkgs.buildPythonApplication {
src = fetchurl {
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/qutebrowser-${version}.tar.gz";
hash = "sha256-9b31UPJzmsGCXmCAIb+8XMEjKnvFIEO0MozWluHYbZA=";
hash = "sha256-GfSkVluSwcCAvLPlW49QLmyWblTrnW9Qgqne0Qy8JJM=";
};
# Needs tox
@@ -104,6 +105,11 @@ python3.pkgs.buildPythonApplication {
''
+ lib.optionalString withPdfReader ''
sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
''
+ lib.optionalString (lib.meta.availableOn stdenv.hostPlatform wayland) ''
substituteInPlace qutebrowser/misc/wmname.py \
--replace-fail '_load_library("wayland-client")' \
'ctypes.CDLL("${lib.getLib wayland}/lib/libwayland-client${stdenv.hostPlatform.extensions.sharedLibrary}")'
'';
installPhase = ''