From 90f9528748db5edc8df20dc4c625fd6ad1a55b8f Mon Sep 17 00:00:00 2001 From: "Andre A. Gomes" Date: Mon, 22 Jan 2024 15:31:48 +0200 Subject: [PATCH] gnu: nyxt: Update to 3.11.1. * gnu/packages/web-browsers.scm (nyxt): Update to 3.11.1. [inputs]: Remove sbcl-fset and sbcl-mk-string-metrics. Add gst-libav, gst-plugins-bad, gst-plugins-base, gst-plugins-good, gst-plugins-ugly. [arguments]: Update 'configure-tests' phase. [home-page]: Update URL. Signed-off-by: Guillaume Le Vaillant Change-Id: If35d6f0153339b311057bea05562fefb215c3f0d --- gnu/packages/web-browsers.scm | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 71289dbb2b..ba95fcecba 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -70,6 +70,7 @@ (define-module (gnu packages web-browsers) #:use-module (gnu packages gnome) #:use-module (gnu packages gnome-xyz) #:use-module (gnu packages gnupg) + #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) @@ -589,7 +590,7 @@ (define-public vimb (define-public nyxt (package (name "nyxt") - (version "3.11.0") + (version "3.11.1") (source (origin (method git-fetch) @@ -598,7 +599,7 @@ (define-public nyxt (commit version))) (sha256 (base32 - "0hzkpk8kshw7afz3pryi99xz2vg3v676day0mgji3hvaazfan39p")) + "107zsjpwhdiafgj55zdbqj6qwyvpfcdf8vxn16sry16r2jaxxagf")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments @@ -610,14 +611,9 @@ (define-public nyxt (modify-phases %standard-phases (delete 'configure) (add-before 'build 'fix-common-lisp-cache-folder - (lambda _ - (setenv "HOME" "/tmp") - #t)) + (lambda _ (setenv "HOME" "/tmp"))) (add-before 'check 'configure-tests - (lambda _ - (setenv "NYXT_TESTS_NO_NETWORK" "1") - (setenv "NYXT_TESTS_ERROR_ON_FAIL" "1") - #t)) + (lambda _ (setenv "NYXT_TESTS_NO_NETWORK" "1") #t)) (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((bin (string-append (assoc-ref outputs "out") "/bin/nyxt")) @@ -639,8 +635,7 @@ (define-public nyxt (,(string-append glib-networking "/lib/gio/modules"))) `("GI_TYPELIB_PATH" prefix (,gi-path)) `("LD_LIBRARY_PATH" ":" prefix (,path)) - `("XDG_DATA_DIRS" ":" prefix (,xdg-path))) - #t)))))) + `("XDG_DATA_DIRS" ":" prefix (,xdg-path))))))))) (native-inputs (list cl-lisp-unit2 sbcl)) (inputs (list sbcl-alexandria sbcl-bordeaux-threads @@ -665,14 +660,12 @@ (define-public nyxt sbcl-dissect sbcl-enchant sbcl-flexi-streams - sbcl-fset sbcl-history-tree sbcl-iolib sbcl-lass sbcl-local-time sbcl-log4cl sbcl-lparallel - sbcl-mk-string-metrics sbcl-montezuma sbcl-moptilities sbcl-named-readtables @@ -710,9 +703,15 @@ (define-public nyxt gtk+ ; For the main loop webkitgtk-for-gtk3 ; Required when we use its typelib gobject-introspection - pkg-config)) + pkg-config + ;; Useful for video playback + gst-libav + gst-plugins-bad + gst-plugins-base + gst-plugins-good + gst-plugins-ugly)) (synopsis "Extensible web-browser in Common Lisp") - (home-page "https://nyxt.atlas.engineer") + (home-page "https://nyxt-browser.com/") (description "Nyxt is a keyboard-oriented, extensible web-browser designed for power users. The application has familiar Emacs and VI key-bindings and is fully configurable and extensible in Common Lisp.")