GNU bug report logs - #62200
[PATCH] gnu: Add emacs-nyxt.

Previous Next

Package: guix-patches;

Reported by: conses <contact <at> conses.eu>

Date: Wed, 15 Mar 2023 12:20:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62200 in the body.
You can then email your comments to 62200 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62200; Package guix-patches. (Wed, 15 Mar 2023 12:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to conses <contact <at> conses.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 15 Mar 2023 12:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: conses <contact <at> conses.eu>
To: guix-patches <at> gnu.org
Cc: contact <at> conses.eu
Subject: [PATCH] gnu: Add emacs-nyxt.
Date: Wed, 15 Mar 2023 13:19:18 +0100
* gnu/packages/emacs-xyz.scm (emacs-nyxt): New variable.
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3c067fe16c..fdd2202b3d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27498,6 +27498,27 @@ (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)
+    (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")
-- 
2.39.1



-- 
Best regards,
conses




Information forwarded to guix-patches <at> gnu.org:
bug#62200; Package guix-patches. (Tue, 21 Mar 2023 09:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 62200 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: conses <contact <at> conses.eu>
Cc: 62200 <at> debbugs.gnu.org
Subject: Re: [bug#62200] [PATCH] gnu: Add emacs-nyxt.
Date: Tue, 21 Mar 2023 10:04:59 +0100
Hello,

conses <contact <at> conses.eu> writes:

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

Thank you.

> +    (synopsis "Interact with Nyxt from Emacs.")
> +    (description "This package consists of custom logic to interact with
> +Nyxt from Emacs.")

Should Nyxt be an input? In this case, you need to set `nyxt-path'
variable accordingly.

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#62200; Package guix-patches. (Tue, 21 Mar 2023 11:18:02 GMT) Full text and rfc822 format available.

Message #11 received at 62200 <at> debbugs.gnu.org (full text, mbox):

From: conses <contact <at> conses.eu>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: contact <at> conses.eu, 62200 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add emacs-nyxt.
Date: Tue, 21 Mar 2023 12:17:07 +0100
* gnu/packages/emacs-xyz.scm (emacs-nyxt): New variable.
---
* Add nyxt as input.
* Fix nyxt-path executable.
 gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b1f72ee009..2e70baf5a0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -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)
@@ -27628,6 +27629,36 @@ (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")
-- 
2.39.1



-- 
Best regards,
conses




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Fri, 24 Mar 2023 09:19:01 GMT) Full text and rfc822 format available.

Notification sent to conses <contact <at> conses.eu>:
bug acknowledged by developer. (Fri, 24 Mar 2023 09:19:02 GMT) Full text and rfc822 format available.

Message #16 received at 62200-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: conses <contact <at> conses.eu>
Cc: 62200-done <at> debbugs.gnu.org
Subject: Re: [bug#62200] [PATCH v2] gnu: Add emacs-nyxt.
Date: Fri, 24 Mar 2023 10:17:46 +0100
Hello,

conses <contact <at> conses.eu> writes:

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

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 21 Apr 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.