gnu: Add emacs-nyxt.

* gnu/packages/emacs-xyz.scm (emacs-nyxt): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
conses 2023-03-24 09:34:29 +01:00 committed by Nicolas Goaziou
parent 29be505fce
commit 753450db45
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -256,6 +256,7 @@ (define-module (gnu packages emacs-xyz)
#:use-module (gnu packages erlang)
#:use-module (gnu packages statistics)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages web-browsers)
#:use-module (gnu packages wget)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
@ -27691,6 +27692,37 @@ (define-public emacs-nix-mode
comments.")
(license license:lgpl2.1+)))
(define-public emacs-nyxt
(package
(name "emacs-nyxt")
(version "0.1.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~conses/nyxt.el")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1hgb10pk5m3v2gsl4h6i821nyzksss0rk4hhjnfb7nm98lalzbl6"))))
(build-system emacs-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-file-name
(lambda* (#:key inputs #:allow-other-keys)
(emacs-substitute-variables "nyxt.el"
("nyxt-path"
(search-input-file inputs "/bin/nyxt"))))))))
(inputs (list nyxt))
(propagated-inputs (list emacs-sly))
(home-page "https://git.sr.ht/~conses/nyxt.el")
(synopsis "Interact with Nyxt from Emacs")
(description "This package consists of custom logic to interact with Nyxt
from Emacs.")
(license license:gpl3+)))
(define-public emacs-libmpdel
(package
(name "emacs-libmpdel")