gnu: nyxt: Update to 2.0.0.

* gnu/packages/web-browsers.scm (nyxt): Update to 2.0.0.
[arguments]: Remove useless set-version phase.
[inputs]: Remove unused file-attributes.
[description]: Follow upstream updates.
This commit is contained in:
Pierre Neidhardt 2021-05-20 12:30:48 +02:00
parent cb68765a58
commit 562727d444
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -599,9 +599,7 @@ (define-public vimb
(define-public nyxt (define-public nyxt
(package (package
(name "nyxt") (name "nyxt")
;; Package the pre-release because latest stable 1.5.0 does not build (version "2.0.0")
;; anymore.
(version "2-pre-release-7")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -612,7 +610,7 @@ (define-public nyxt
(commit version))) (commit version)))
(sha256 (sha256
(base32 (base32
"0d5mawka26gwi9nb45x1n33vgskwyn46jrvfz7nzmm2jfaq4ipn6")) "0y91hnanf1bj378zsxhjh33qnhj09f6ixpdqmkl69k0075zls93r"))
(file-name (git-file-name "nyxt" version)))) (file-name (git-file-name "nyxt" version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
@ -627,10 +625,6 @@ (define-public nyxt
(lambda _ (lambda _
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
#t)) #t))
(add-before 'build 'set-version
(lambda _
(setenv "NYXT_VERSION" ,version)
#t))
(add-before 'check 'configure-tests (add-before 'check 'configure-tests
(lambda _ (lambda _
(setenv "NYXT_TESTS_NO_NETWORK" "1") (setenv "NYXT_TESTS_NO_NETWORK" "1")
@ -678,7 +672,6 @@ (define-public nyxt
("cluffer" ,sbcl-cluffer) ("cluffer" ,sbcl-cluffer)
("dexador" ,sbcl-dexador) ("dexador" ,sbcl-dexador)
("enchant" ,sbcl-enchant) ("enchant" ,sbcl-enchant)
("file-attributes" ,sbcl-file-attributes)
("fset" ,sbcl-fset) ("fset" ,sbcl-fset)
("hu.dwim.defclass-star" ,sbcl-hu.dwim.defclass-star) ("hu.dwim.defclass-star" ,sbcl-hu.dwim.defclass-star)
("iolib" ,sbcl-iolib) ("iolib" ,sbcl-iolib)
@ -711,9 +704,9 @@ (define-public nyxt
("gobject-introspection" ,gobject-introspection))) ("gobject-introspection" ,gobject-introspection)))
(synopsis "Extensible web-browser in Common Lisp") (synopsis "Extensible web-browser in Common Lisp")
(home-page "https://nyxt.atlas.engineer") (home-page "https://nyxt.atlas.engineer")
(description "Nyxt is a keyboard-oriented, extensible web-browser (description "Nyxt is a keyboard-oriented, extensible web browser designed
designed for power users. The application has familiar Emacs and VI for power users. Conceptually inspired by Emacs and Vim, it has familiar
key-bindings and is fully configurable and extensible in Common Lisp.") key-bindings (Emacs, vi, CUA), and is fully configurable in Common Lisp.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public next (define-public next