mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #273199 from dotlambda/qutebrowser-3.1.0
qutebrowser: 3.0.2 -> 3.1.0
This commit is contained in:
commit
6ea6abe4bb
@ -18,15 +18,15 @@
|
|||||||
let
|
let
|
||||||
isQt6 = lib.versions.major qtbase.version == "6";
|
isQt6 = lib.versions.major qtbase.version == "6";
|
||||||
pdfjs = let
|
pdfjs = let
|
||||||
version = "3.9.179";
|
version = "4.0.269";
|
||||||
in
|
in
|
||||||
fetchzip {
|
fetchzip {
|
||||||
url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/pdfjs-${version}-dist.zip";
|
url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/pdfjs-${version}-dist.zip";
|
||||||
hash = "sha256-QoJFb7MlZN6lDe2Yalsd10sseukL6+tNRi6JzLPVBYw=";
|
hash = "sha256-8gwJUxygcdvERDni/k6WIx3tzk7yb+qHZ4NsfkP0VDo=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
version = "3.0.2";
|
version = "3.1.0";
|
||||||
in
|
in
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication {
|
python3.pkgs.buildPythonApplication {
|
||||||
@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication {
|
|||||||
inherit version;
|
inherit version;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/qutebrowser-${version}.tar.gz";
|
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/qutebrowser-${version}.tar.gz";
|
||||||
hash = "sha256-pRiT3koSNRmvuDcjuc7SstmPTKUoUnjIHpvdqR7VvFE=";
|
hash = "sha256-UA3MHMoI1rC4FPowbiII4lM1rL4OLPmZ+1GRbg9LLl8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Needs tox
|
# Needs tox
|
||||||
@ -117,6 +117,7 @@ python3.pkgs.buildPythonApplication {
|
|||||||
--set-default QSG_RHI_BACKEND vulkan
|
--set-default QSG_RHI_BACKEND vulkan
|
||||||
''}
|
''}
|
||||||
${lib.optionalString enableWideVine ''--add-flags "--qt-flag widevine-path=${widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"''}
|
${lib.optionalString enableWideVine ''--add-flags "--qt-flag widevine-path=${widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"''}
|
||||||
|
--set QTWEBENGINE_RESOURCES_PATH "${qtwebengine}/resources"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user