qutebrowser: 2.1.1 -> 2.2.0 (#119376)
* pdfjs: 2.6.347 -> 2.8.335 * set QUTE_QTWEBENGINE_VERSION_OVERRIDE Co-authored-by: Robert Schütz <dev@schuetz-co.de>
This commit is contained in:
parent
2ed0f723c7
commit
31f5263929
@ -1,5 +1,5 @@
|
|||||||
{ lib, fetchpatch, fetchurl, fetchzip, python3
|
{ lib, fetchurl, fetchzip, fetchpatch, python3
|
||||||
, mkDerivationWith, wrapQtAppsHook, wrapGAppsHook, qtbase, glib-networking
|
, mkDerivationWith, wrapQtAppsHook, wrapGAppsHook, qtbase, qtwebengine, glib-networking
|
||||||
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2
|
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2
|
||||||
, libxslt, gst_all_1 ? null
|
, libxslt, gst_all_1 ? null
|
||||||
, withPdfReader ? true
|
, withPdfReader ? true
|
||||||
@ -12,12 +12,12 @@ assert withMediaPlayback -> gst_all_1 != null;
|
|||||||
let
|
let
|
||||||
python3Packages = python3.pkgs;
|
python3Packages = python3.pkgs;
|
||||||
pdfjs = let
|
pdfjs = let
|
||||||
version = "2.6.347";
|
version = "2.8.335";
|
||||||
in
|
in
|
||||||
fetchzip rec {
|
fetchzip rec {
|
||||||
name = "pdfjs-${version}";
|
name = "pdfjs-${version}";
|
||||||
url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/${name}-dist.zip";
|
url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/${name}-dist.zip";
|
||||||
sha256 = "0d016fyg81cq464li01xlkf9rxrb3rpsvmk5gh9m4d5yzmcakkfm";
|
sha256 = "1zschfpxnhdinn9nasl5in4s62ad0h1g369cglamjgxx36x27zly";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -31,12 +31,12 @@ let
|
|||||||
|
|
||||||
in mkDerivationWith python3Packages.buildPythonApplication rec {
|
in mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||||
pname = "qutebrowser";
|
pname = "qutebrowser";
|
||||||
version = "2.1.1";
|
version = "2.2.0";
|
||||||
|
|
||||||
# the release tarballs are different from the git checkout!
|
# the release tarballs are different from the git checkout!
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
|
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-txsArX1JiRGXjlu9FTpt0EUKxq3j5b85j8luFTKDQs4=";
|
sha256 = "sha256:0anxhrkxqb35mxr7jr820xcfw0v514s92wffsiqap2a2sqaj0pgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Needs tox
|
# Needs tox
|
||||||
@ -70,10 +70,9 @@ in mkDerivationWith python3Packages.buildPythonApplication rec {
|
|||||||
patches = [
|
patches = [
|
||||||
./fix-restart.patch
|
./fix-restart.patch
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "fix-version-parsing.patch";
|
name = "add-qtwebengine-version-override.patch";
|
||||||
url = "https://github.com/qutebrowser/qutebrowser/commit/c3d1b71c6f08607f47353f406aca0168bb3062a1.patch";
|
url = "https://github.com/qutebrowser/qutebrowser/commit/febb921040b6670d9b1694a6ce55ae39384d1306.patch";
|
||||||
excludes = [ "doc/changelog.asciidoc" ];
|
sha256 = "15p11kk8via7c7m14jiqgzc63qwxxzayr2bkl93jd10l2gx7pk9v";
|
||||||
sha256 = "1vm2yjvmrw4cyn8mpwfwvvcihn74f60ql3qh1rjj8n0wak8z1ir6";
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -123,6 +122,7 @@ in mkDerivationWith python3Packages.buildPythonApplication rec {
|
|||||||
"''${gappsWrapperArgs[@]}"
|
"''${gappsWrapperArgs[@]}"
|
||||||
"''${qtWrapperArgs[@]}"
|
"''${qtWrapperArgs[@]}"
|
||||||
--add-flags '--backend ${backend}'
|
--add-flags '--backend ${backend}'
|
||||||
|
--set QUTE_QTWEBENGINE_VERSION_OVERRIDE "${lib.getVersion qtwebengine}"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user